Freigeben über


DefaultSecurityNamespaceExtension.HasPermission-Methode

Die Standardimplementierung von [HasPermission], die nur die vorläufige Entscheidung zurückgibt.

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
)

Parameter

Rückgabewert

Typ: System.Boolean

Implementiert

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

.NET Framework-Sicherheit

Siehe auch

Referenz

DefaultSecurityNamespaceExtension Klasse

Microsoft.TeamFoundation.Framework.Server-Namespace