This documentation is archived and is not being maintained.

AccessControlList::RemovePermissions Method

Removes the specified permission bits from the existing allows and denys for this descriptor. If the descriptor is not found, nothing is done and an empty AccessControlEntry is returned.

Namespace:  Microsoft.TeamFoundation.Framework.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

public:
AccessControlEntry^ RemovePermissions(
	IdentityDescriptor^ descriptor, 
	int permissionsToRemove
)

Parameters

descriptor
Type: Microsoft.TeamFoundation.Framework.Client::IdentityDescriptor

The descriptor to remove the permissions from.

permissionsToRemove
Type: System::Int32

The permission bits to remove.

Return Value

Type: Microsoft.TeamFoundation.Framework.Client::AccessControlEntry
The updated AccessControlEntry with the permissions removed.

Show: