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
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.