PartialPermissionSetNamespaceExtension.HasPermission Method

This member overrides DefaultSecurityNamespaceExtension.HasPermission(TeamFoundationRequestContext, String, Int32, Int32, Int32, Boolean).

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

Syntax

'Declaration
Public Overrides Function HasPermission ( _
    requestContext As TeamFoundationRequestContext, _
    token As String, _
    requestedPermissions As Integer, _
    effectiveAllows As Integer, _
    effectiveDenys As Integer, _
    preliminaryDecision As Boolean _
) As Boolean
public override bool HasPermission(
    TeamFoundationRequestContext requestContext,
    string token,
    int requestedPermissions,
    int effectiveAllows,
    int effectiveDenys,
    bool preliminaryDecision
)
public:
virtual bool HasPermission(
    TeamFoundationRequestContext^ requestContext, 
    String^ token, 
    int requestedPermissions, 
    int effectiveAllows, 
    int effectiveDenys, 
    bool preliminaryDecision
) override
abstract HasPermission : 
        requestContext:TeamFoundationRequestContext * 
        token:string * 
        requestedPermissions:int * 
        effectiveAllows:int * 
        effectiveDenys:int * 
        preliminaryDecision:bool -> bool 
override HasPermission : 
        requestContext:TeamFoundationRequestContext * 
        token:string * 
        requestedPermissions:int * 
        effectiveAllows:int * 
        effectiveDenys:int * 
        preliminaryDecision:bool -> bool 
public override function HasPermission(
    requestContext : TeamFoundationRequestContext, 
    token : String, 
    requestedPermissions : int, 
    effectiveAllows : int, 
    effectiveDenys : int, 
    preliminaryDecision : boolean
) : boolean

Parameters

Return Value

Type: System.Boolean

Implements

ISecurityNamespaceExtension.HasPermission(TeamFoundationRequestContext, String, Int32, Int32, Int32, Boolean)

.NET Framework Security

See Also

Reference

PartialPermissionSetNamespaceExtension Class

Microsoft.TeamFoundation.Framework.Server Namespace