This documentation is archived and is not being maintained.
AccessControlList::RemovePermissions Method
Visual Studio 2013
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::AccessControlEntryThe updated AccessControlEntry with the permissions removed.
- 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.
Show: