Partager via


PermissionsController.RemovePermission Method

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

Syntax

'Declaration
<HttpDeleteAttribute> _
Public Function RemovePermission ( _
    securityNamespaceId As Guid, _
    permissions As Integer, _
    token As String, _
    descriptor As String _
) As AccessControlEntry
[HttpDeleteAttribute]
public AccessControlEntry RemovePermission(
    Guid securityNamespaceId,
    int permissions,
    string token,
    string descriptor
)
[HttpDeleteAttribute]
public:
AccessControlEntry^ RemovePermission(
    Guid securityNamespaceId, 
    int permissions, 
    String^ token, 
    String^ descriptor
)
[<HttpDeleteAttribute>]
member RemovePermission : 
        securityNamespaceId:Guid * 
        permissions:int * 
        token:string * 
        descriptor:string -> AccessControlEntry
public function RemovePermission(
    securityNamespaceId : Guid, 
    permissions : int, 
    token : String, 
    descriptor : String
) : AccessControlEntry

Parameters

Return Value

Type: Microsoft.VisualStudio.Services.Security.AccessControlEntry
Returns AccessControlEntry.

.NET Framework Security

See Also

Reference

PermissionsController Class

Microsoft.TeamFoundation.Framework.Server Namespace