Delen via


DefaultSecurityNamespaceExtension.HasPermission Method

The default implementation of HasPermission, which just returns the preliminary decision.

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

Syntax

'Declaration
Public Overridable Function HasPermission ( _
    requestContext As TeamFoundationRequestContext, _
    token As String, _
    requestedPermissions As Integer, _
    effectiveAllows As Integer, _
    effectiveDenys As Integer, _
    preliminaryDecision As Boolean _
) As Boolean
public virtual 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
)
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 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

DefaultSecurityNamespaceExtension Class

Microsoft.TeamFoundation.Framework.Server Namespace