Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Removes the specified permission bits from the existing allows and denys for this identity. If the identity is not found, nothing is done and null is returned.
Namespace:  Microsoft.TeamFoundation.Server.Core.WebServices
Assembly:  Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)
Syntax
'Declaration
<WebMethodAttribute> _
Public Function RemovePermissions ( _
    namespaceId As Guid, _
    token As String, _
    descriptor As IdentityDescriptor, _
    permissions As Integer _
) As AccessControlEntryDetails
[WebMethodAttribute]
public AccessControlEntryDetails RemovePermissions(
    Guid namespaceId,
    string token,
    IdentityDescriptor descriptor,
    int permissions
)
[WebMethodAttribute]
public:
AccessControlEntryDetails^ RemovePermissions(
    Guid namespaceId, 
    String^ token, 
    IdentityDescriptor^ descriptor, 
    int permissions
)
[<WebMethodAttribute>]
member RemovePermissions : 
        namespaceId:Guid * 
        token:string * 
        descriptor:IdentityDescriptor * 
        permissions:int -> AccessControlEntryDetails
public function RemovePermissions(
    namespaceId : Guid, 
    token : String, 
    descriptor : IdentityDescriptor, 
    permissions : int
) : AccessControlEntryDetails
Parameters
- namespaceId
 Type: System.Guid
- token 
 Type: System.String- The token the permissions apply to. 
- descriptor 
 Type: Microsoft.VisualStudio.Services.Identity.IdentityDescriptor- The descriptor to remove the permissions for. 
- permissions 
 Type: System.Int32- The permission bits to remove. 
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.AccessControlEntryDetails
The updated ACE
.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.