SecurityNamespace.RemoveAccessControlEntry Method
Removes the access control entry for the specified identity descriptor that exists on the AccessControlList that is associated with the specified token.
Namespace: Microsoft.TeamFoundation.Framework.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaração
Public MustOverride Function RemoveAccessControlEntry ( _
token As String, _
descriptor As IdentityDescriptor _
) As Boolean
public abstract bool RemoveAccessControlEntry(
string token,
IdentityDescriptor descriptor
)
public:
virtual bool RemoveAccessControlEntry(
String^ token,
IdentityDescriptor^ descriptor
) abstract
abstract RemoveAccessControlEntry :
token:string *
descriptor:IdentityDescriptor -> bool
public abstract function RemoveAccessControlEntry(
token : String,
descriptor : IdentityDescriptor
) : boolean
Parameters
- token
Type: System.String
The token that is associated with the AccessControlList from which to remove all access control entries.
- descriptor
Type: Microsoft.TeamFoundation.Framework.Client.IdentityDescriptor
An identity descriptor for which to remove the associated AccessControlEntry.
Return Value
Type: System.Boolean
True if something was removed; 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.