TeamFoundationSecurityNamespace.RemovePermissions Method
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function RemovePermissions ( _
requestContext As TeamFoundationRequestContext, _
token As String, _
descriptor As IdentityDescriptor, _
permissionsToRemove As Integer _
) As AccessControlEntry
public AccessControlEntry RemovePermissions(
TeamFoundationRequestContext requestContext,
string token,
IdentityDescriptor descriptor,
int permissionsToRemove
)
public:
AccessControlEntry^ RemovePermissions(
TeamFoundationRequestContext^ requestContext,
String^ token,
IdentityDescriptor^ descriptor,
int permissionsToRemove
)
member RemovePermissions :
requestContext:TeamFoundationRequestContext *
token:string *
descriptor:IdentityDescriptor *
permissionsToRemove:int -> AccessControlEntry
public function RemovePermissions(
requestContext : TeamFoundationRequestContext,
token : String,
descriptor : IdentityDescriptor,
permissionsToRemove : int
) : AccessControlEntry
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- token
Type: System.String
- descriptor
Type: Microsoft.TeamFoundation.Framework.Server.IdentityDescriptor
- permissionsToRemove
Type: System.Int32
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.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.