Delen via


ISecurityChangedEventHandler.RemovePermissions Method (TeamFoundationRequestContext, NotificationType, String, IEnumerable<IdentityDescriptor>)

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, _
    identities As IEnumerable(Of IdentityDescriptor) _
) As Boolean
bool RemovePermissions(
    TeamFoundationRequestContext requestContext,
    NotificationType notificationType,
    string token,
    IEnumerable<IdentityDescriptor> identities
)
bool RemovePermissions(
    TeamFoundationRequestContext^ requestContext, 
    NotificationType notificationType, 
    String^ token, 
    IEnumerable<IdentityDescriptor^>^ identities
)
abstract RemovePermissions : 
        requestContext:TeamFoundationRequestContext * 
        notificationType:NotificationType * 
        token:string * 
        identities:IEnumerable<IdentityDescriptor> -> bool
function RemovePermissions(
    requestContext : TeamFoundationRequestContext, 
    notificationType : NotificationType, 
    token : String, 
    identities : IEnumerable<IdentityDescriptor>
) : boolean

Parameters

  • token
    Type: System.String

    The token on which the identity has permissions.

Return Value

Type: System.Boolean
True if the opertion should continue in the security namespace this notification is coming from.

.NET Framework Security

See Also

Reference

ISecurityChangedEventHandler Interface

RemovePermissions Overload

Microsoft.TeamFoundation.Framework.Server Namespace