Freigeben über


SecurityHttpClient.HasPermissionAsync-Methode

Namespace:  Microsoft.VisualStudio.Services.Security.Client
Assembly:  Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)

Syntax

'Declaration
Public Function HasPermissionAsync ( _
    securityNamespaceId As Guid, _
    token As String, _
    requestedPermissions As Integer, _
    alwaysAllowAdministrators As Boolean, _
    userState As Object _
) As Task(Of Boolean)
public Task<bool> HasPermissionAsync(
    Guid securityNamespaceId,
    string token,
    int requestedPermissions,
    bool alwaysAllowAdministrators,
    Object userState
)

Parameter

Rückgabewert

Typ: System.Threading.Tasks.Task<Boolean>

.NET Framework-Sicherheit

Siehe auch

Referenz

SecurityHttpClient Klasse

Microsoft.VisualStudio.Services.Security.Client-Namespace