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
- securityNamespaceId
Type: System.Guid
- permissions
Type: System.Int32
- token
Type: System.String
- descriptor
Type: System.String
Return Value
Type: Microsoft.VisualStudio.Services.Security.AccessControlEntry
Returns AccessControlEntry.
.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.