Share via


SecurityWebService.RemovePermissions Method

Removes the specified permission bits from the existing allows and denies for this identity.

If the identity is not found, nothing is performed and null is returned.

Namespace:  Microsoft.TeamFoundation.Framework.Server.WebServices
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.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

  • permissions
    Type: System.Int32

    The permission bits to remove.

Return Value

Type: Microsoft.TeamFoundation.Framework.Server.AccessControlEntryDetails
The updated ACE

.NET Framework Security

See Also

Reference

SecurityWebService Class

Microsoft.TeamFoundation.Framework.Server.WebServices Namespace