ISecurityChangedEventHandler.RenameToken Method

Allows the implementer to override, block or listen for RenameToken calls.

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Function RenameToken ( _
    requestContext As TeamFoundationRequestContext, _
    notificationType As NotificationType, _
    existingToken As String, _
    newToken As String, _
    copy As Boolean _
) As Boolean
bool RenameToken(
    TeamFoundationRequestContext requestContext,
    NotificationType notificationType,
    string existingToken,
    string newToken,
    bool copy
)
bool RenameToken(
    TeamFoundationRequestContext^ requestContext, 
    NotificationType notificationType, 
    String^ existingToken, 
    String^ newToken, 
    bool copy
)
abstract RenameToken : 
        requestContext:TeamFoundationRequestContext * 
        notificationType:NotificationType * 
        existingToken:string * 
        newToken:string * 
        copy:bool -> bool
function RenameToken(
    requestContext : TeamFoundationRequestContext, 
    notificationType : NotificationType, 
    existingToken : String, 
    newToken : String, 
    copy : boolean
) : boolean

Parameters

  • copy
    Type: System.Boolean

    If true, the ACLs will be copied to the new location and will still remain at the old location.

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

Microsoft.TeamFoundation.Framework.Server Namespace