Freigeben über


PermissionsController.HasPermission-Methode

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

Syntax

'Declaration
<HttpGetAttribute> _
Public Function HasPermission ( _
    securityNamespaceId As Guid, _
    permissions As Integer, _
    token As String, _
    alwaysAllowAdministrators As Boolean _
) As Boolean
[HttpGetAttribute]
public bool HasPermission(
    Guid securityNamespaceId,
    int permissions,
    string token,
    bool alwaysAllowAdministrators
)

Parameter

Rückgabewert

Typ: System.Boolean
Gibt Boolean zurück.

.NET Framework-Sicherheit

Siehe auch

Referenz

PermissionsController Klasse

Microsoft.TeamFoundation.Framework.Server-Namespace