Share via


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

  • securityToken
    Type: System.String

    Artifact security token to check permission.

Return Value

Type: System.Boolean
True if has permission.

.NET Framework Security

See Also

Reference

IContainerSecurityExtension Interface

Microsoft.TeamFoundation.Framework.Server Namespace