SecurityNamespace.RemoveAccessControlEntries Method
Removes all access control entries for the specified identity descriptors that exist 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
'Декларация
Public MustOverride Function RemoveAccessControlEntries ( _
token As String, _
descriptors As IEnumerable(Of IdentityDescriptor) _
) As Boolean
public abstract bool RemoveAccessControlEntries(
string token,
IEnumerable<IdentityDescriptor> descriptors
)
public:
virtual bool RemoveAccessControlEntries(
String^ token,
IEnumerable<IdentityDescriptor^>^ descriptors
) abstract
abstract RemoveAccessControlEntries :
token:string *
descriptors:IEnumerable<IdentityDescriptor> -> bool
public abstract function RemoveAccessControlEntries(
token : String,
descriptors : IEnumerable<IdentityDescriptor>
) : boolean
Parameters
- token
Type: System.String
The token that is associated with the AccessControlList from which to remove all access control entries.
- descriptors
Type: System.Collections.Generic.IEnumerable<IdentityDescriptor>
An enumerable collection of identity descriptors 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.