Compartilhar via


RoleAssignmentsClient.CheckPrincipalAccess Método

Definição

Verifique se a principalId determinada tem acesso para executar a lista de ações em um determinado escopo.

public virtual Azure.Response<Azure.Analytics.Synapse.AccessControl.Models.CheckPrincipalAccessResponse> CheckPrincipalAccess (Azure.Analytics.Synapse.AccessControl.Models.SubjectInfo subject, System.Collections.Generic.IEnumerable<Azure.Analytics.Synapse.AccessControl.Models.RequiredAction> actions, string scope, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckPrincipalAccess : Azure.Analytics.Synapse.AccessControl.Models.SubjectInfo * seq<Azure.Analytics.Synapse.AccessControl.Models.RequiredAction> * string * System.Threading.CancellationToken -> Azure.Response<Azure.Analytics.Synapse.AccessControl.Models.CheckPrincipalAccessResponse>
override this.CheckPrincipalAccess : Azure.Analytics.Synapse.AccessControl.Models.SubjectInfo * seq<Azure.Analytics.Synapse.AccessControl.Models.RequiredAction> * string * System.Threading.CancellationToken -> Azure.Response<Azure.Analytics.Synapse.AccessControl.Models.CheckPrincipalAccessResponse>
Public Overridable Function CheckPrincipalAccess (subject As SubjectInfo, actions As IEnumerable(Of RequiredAction), scope As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of CheckPrincipalAccessResponse)

Parâmetros

subject
SubjectInfo

Detalhes do assunto.

actions
IEnumerable<RequiredAction>

Lista de ações.

scope
String

Escopo no qual o acesso marcar é feito.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a