SecurityService.RemovePermission Method
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public MustOverride Function RemovePermission ( _
requestContext As TeamFoundationRequestContext, _
securityNamespaceId As Guid, _
token As String, _
descriptor As IdentityDescriptor, _
permissions As Integer _
) As AccessControlEntry
public abstract AccessControlEntry RemovePermission(
TeamFoundationRequestContext requestContext,
Guid securityNamespaceId,
string token,
IdentityDescriptor descriptor,
int permissions
)
public:
virtual AccessControlEntry^ RemovePermission(
TeamFoundationRequestContext^ requestContext,
Guid securityNamespaceId,
String^ token,
IdentityDescriptor^ descriptor,
int permissions
) abstract
abstract RemovePermission :
requestContext:TeamFoundationRequestContext *
securityNamespaceId:Guid *
token:string *
descriptor:IdentityDescriptor *
permissions:int -> AccessControlEntry
public abstract function RemovePermission(
requestContext : TeamFoundationRequestContext,
securityNamespaceId : Guid,
token : String,
descriptor : IdentityDescriptor,
permissions : int
) : AccessControlEntry
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- securityNamespaceId
Type: System.Guid
- token
Type: System.String
- descriptor
Type: Microsoft.VisualStudio.Services.Identity.IdentityDescriptor
- permissions
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.