共用方式為


RoleAssignmentCreateParameters Class

Definition

Role assignment create parameters.

[Microsoft.Rest.Serialization.JsonTransformation]
public class RoleAssignmentCreateParameters
[<Microsoft.Rest.Serialization.JsonTransformation>]
type RoleAssignmentCreateParameters = class
Public Class RoleAssignmentCreateParameters
Inheritance
RoleAssignmentCreateParameters
Attributes

Constructors

RoleAssignmentCreateParameters()

Initializes a new instance of the RoleAssignmentCreateParameters class.

RoleAssignmentCreateParameters(String, String, PrincipalType, Nullable<Boolean>)

Initializes a new instance of the RoleAssignmentCreateParameters class.

Properties

CanDelegate

Gets or sets the delegation flag used for creating a role assignment

PrincipalId

Gets or sets 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.

PrincipalType

Gets or sets the principal type of the assigned principal ID. Possible values include: 'User', 'Group', 'ServicePrincipal', 'Unknown', 'DirectoryRoleTemplate', 'ForeignGroup', 'Application', 'MSI', 'DirectoryObjectOrGroup', 'Everyone'

RoleDefinitionId

Gets or sets the role definition ID used in the role assignment.

Methods

Validate()

Validate the object.

Applies to