Delen via


SecurityWebService.RemovePermissions Method

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

  • 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.Server.Core.WebServices Namespace