FullPermissionSetForwarderBase.RemovePermissions Method (TeamFoundationRequestContext, NotificationType, String, IdentityDescriptor, Int32)
Removes the catalog permissions from the corresponding catalog node.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Overridable Function RemovePermissions ( _
requestContext As TeamFoundationRequestContext, _
notificationType As NotificationType, _
sourceToken As String, _
descriptor As IdentityDescriptor, _
permissionsToRemove As Integer _
) As Boolean
public virtual bool RemovePermissions(
TeamFoundationRequestContext requestContext,
NotificationType notificationType,
string sourceToken,
IdentityDescriptor descriptor,
int permissionsToRemove
)
public:
virtual bool RemovePermissions(
TeamFoundationRequestContext^ requestContext,
NotificationType notificationType,
String^ sourceToken,
IdentityDescriptor^ descriptor,
int permissionsToRemove
)
abstract RemovePermissions :
requestContext:TeamFoundationRequestContext *
notificationType:NotificationType *
sourceToken:string *
descriptor:IdentityDescriptor *
permissionsToRemove:int -> bool
override RemovePermissions :
requestContext:TeamFoundationRequestContext *
notificationType:NotificationType *
sourceToken:string *
descriptor:IdentityDescriptor *
permissionsToRemove:int -> bool
public function RemovePermissions(
requestContext : TeamFoundationRequestContext,
notificationType : NotificationType,
sourceToken : String,
descriptor : IdentityDescriptor,
permissionsToRemove : int
) : boolean
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- notificationType
Type: Microsoft.TeamFoundation.Framework.Server.NotificationType
- sourceToken
Type: System.String
- descriptor
Type: Microsoft.VisualStudio.Services.Identity.IdentityDescriptor
- permissionsToRemove
Type: System.Int32
Return Value
Type: System.Boolean
.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.