IContainerSecurityExtension.HasWritePermission Method
Checks if the user has write permission on the token.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Function HasWritePermission ( _
requestContext As TeamFoundationRequestContext, _
securityToken As String _
) As Boolean
bool HasWritePermission(
TeamFoundationRequestContext requestContext,
string securityToken
)
bool HasWritePermission(
TeamFoundationRequestContext^ requestContext,
String^ securityToken
)
abstract HasWritePermission :
requestContext:TeamFoundationRequestContext *
securityToken:string -> bool
function HasWritePermission(
requestContext : TeamFoundationRequestContext,
securityToken : String
) : boolean
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextRequest context.
securityToken
Type: System.StringArtifact security token to check permission.
Return Value
Type: System.Boolean
True if has permission.
.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.