Condividi tramite


Metodo DefaultSecurityNamespaceExtension.HasPermission

L'implementazione predefinita [HasPermission], che restituisce la decisione preliminare.

Spazio dei nomi:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Sintassi

'Dichiarazione
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
)

Parametri

Valore restituito

Tipo: System.Boolean

Implementa

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

Sicurezza di .NET Framework

Vedere anche

Riferimenti

DefaultSecurityNamespaceExtension Classe

Spazio dei nomi Microsoft.TeamFoundation.Framework.Server