public final class KeyVaultRoleAssignmentProperties extends Object
Constructor and Description |
---|
KeyVaultRoleAssignmentProperties(String roleDefinitionId,
String principalId)
Creates a new
role assignment properties object with the specified
details. |
Modifier and Type | Method and Description |
---|---|
String |
getPrincipalId()
Get the principal ID assigned to the role.
|
String |
getRoleDefinitionId()
Get the
role definition ID used in the role
assignment . |
public KeyVaultRoleAssignmentProperties(String roleDefinitionId, String principalId)
role assignment properties
object with the specified
details.roleDefinitionId
- The role definition
ID used in the
role assignment
.principalId
- The principal ID assigned to the role. This maps to the ID inside the Active Directory.
It can point to a user, service principal, or security group.public String getRoleDefinitionId()
role definition
ID used in the role
assignment
.role definition
ID.public String getPrincipalId()
Copyright © 2021 Microsoft Corporation. All rights reserved.