This documentation is archived and is not being maintained.

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)

public:
virtual bool RemoveAccessControlEntries(
	String^ token, 
	IEnumerable<IdentityDescriptor^>^ descriptors
) abstract

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.

Show: