Delen via


IContainerSecurityExtension.HasReadPermission Method

Checks if the user has read permission on the token.

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

Syntax

'Declaration
Function HasReadPermission ( _
    requestContext As TeamFoundationRequestContext, _
    securityToken As String _
) As Boolean
bool HasReadPermission(
    TeamFoundationRequestContext requestContext,
    string securityToken
)
bool HasReadPermission(
    TeamFoundationRequestContext^ requestContext, 
    String^ securityToken
)
abstract HasReadPermission : 
        requestContext:TeamFoundationRequestContext * 
        securityToken:string -> bool
function HasReadPermission(
    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