Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Checks whether the current user has authority to write the specified permissions.
Namespace: Microsoft.TeamFoundation.Framework.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Public MustOverride Function HasWritePermission ( _
token As String, _
permissionsToChange As Integer _
) As Boolean
public abstract bool HasWritePermission(
string token,
int permissionsToChange
)
public:
virtual bool HasWritePermission(
String^ token,
int permissionsToChange
) abstract
abstract HasWritePermission :
token:string *
permissionsToChange:int -> bool
public abstract function HasWritePermission(
token : String,
permissionsToChange : int
) : boolean
Parameters
token
Type: System.StringThe token for which to check write permissions.
permissionsToChange
Type: System.Int32The permission bits that the authorized user may want to change.
Return Value
Type: System.Boolean
True if the current user has the authority to change the specified permissions bits; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.