Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Allows the impelementor to override, block or listen for RemovePermissions calls.
Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Function RemovePermissions ( _
    requestContext As TeamFoundationRequestContext, _
    notificationType As NotificationType, _
    token As String, _
    descriptor As IdentityDescriptor, _
    permissionsToRemove As Integer _
) As Boolean
bool RemovePermissions(
    TeamFoundationRequestContext requestContext,
    NotificationType notificationType,
    string token,
    IdentityDescriptor descriptor,
    int permissionsToRemove
)
bool RemovePermissions(
    TeamFoundationRequestContext^ requestContext, 
    NotificationType notificationType, 
    String^ token, 
    IdentityDescriptor^ descriptor, 
    int permissionsToRemove
)
abstract RemovePermissions : 
        requestContext:TeamFoundationRequestContext * 
        notificationType:NotificationType * 
        token:string * 
        descriptor:IdentityDescriptor * 
        permissionsToRemove:int -> bool
function RemovePermissions(
    requestContext : TeamFoundationRequestContext, 
    notificationType : NotificationType, 
    token : String, 
    descriptor : IdentityDescriptor, 
    permissionsToRemove : int
) : boolean
Parameters
- requestContext 
 Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext- The request context associated with this call. 
- notificationType 
 Type: Microsoft.TeamFoundation.Framework.Server.NotificationType- The type of notification that this is. 
- token 
 Type: System.String- The token the permissions apply to. 
- descriptor 
 Type: Microsoft.VisualStudio.Services.Identity.IdentityDescriptor- The identity to remove the permissions for. 
- permissionsToRemove 
 Type: System.Int32- The permission bits to remove. 
Return Value
Type: System.Boolean
True if the opertion should continue in the security namespace this notification is coming from.
.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.