Compartir a través de


KeyVaultAccessControlClient.GetRoleAssignments Método

Definición

Obtiene las asignaciones de roles de un ámbito.

public virtual Azure.Pageable<Azure.Security.KeyVault.Administration.KeyVaultRoleAssignment> GetRoleAssignments (Azure.Security.KeyVault.Administration.KeyVaultRoleScope roleScope, System.Threading.CancellationToken cancellationToken = default);
abstract member GetRoleAssignments : Azure.Security.KeyVault.Administration.KeyVaultRoleScope * System.Threading.CancellationToken -> Azure.Pageable<Azure.Security.KeyVault.Administration.KeyVaultRoleAssignment>
override this.GetRoleAssignments : Azure.Security.KeyVault.Administration.KeyVaultRoleScope * System.Threading.CancellationToken -> Azure.Pageable<Azure.Security.KeyVault.Administration.KeyVaultRoleAssignment>
Public Overridable Function GetRoleAssignments (roleScope As KeyVaultRoleScope, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of KeyVaultRoleAssignment)

Parámetros

roleScope
KeyVaultRoleScope

Ámbito de las asignaciones de roles.

cancellationToken
CancellationToken

Control CancellationToken de la duración de la solicitud.

Devoluciones

Excepciones

El servidor devolvió un error. Consulte Message para obtener más información devuelta desde el servidor.

roleScope es null.

Se aplica a