Compartilhar via


Método SecurityService.HasPermission

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

Sintaxe

'Declaração
Public MustOverride Function HasPermission ( _
    requestContext As TeamFoundationRequestContext, _
    securityNamespaceId As Guid, _
    token As String, _
    requestedPermissions As Integer, _
    alwaysAllowAdministrators As Boolean _
) As Boolean
public abstract bool HasPermission(
    TeamFoundationRequestContext requestContext,
    Guid securityNamespaceId,
    string token,
    int requestedPermissions,
    bool alwaysAllowAdministrators
)

Parâmetros

Valor de retorno

Tipo: System.Boolean

Segurança do .NET Framework

Consulte também

Referência

SecurityService Classe

Namespace Microsoft.TeamFoundation.Framework.Server