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
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context associated with this call.
notificationType
Type: Microsoft.TeamFoundation.Framework.Server.NotificationTypeThe type of notification that this is.
existingToken
Type: System.StringThe token to be renamed.
newToken
Type: System.StringThe new name for the token.
copy
Type: System.BooleanIf 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
- 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.