RoleAssignment Class

Definition

Role Assignments

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

Constructors

RoleAssignment()

Initializes a new instance of the RoleAssignment class.

RoleAssignment(String, String, String, String, String, String, String, Nullable<Boolean>, String, String, String)

Initializes a new instance of the RoleAssignment class.

Properties

CanDelegate

Gets or sets the Delegation flag for the role assignment

Condition

Gets or sets the conditions on the role assignment

ConditionVersion

Gets or sets version of the condition

Description

Gets or sets description of role assignment

Id

Gets the role assignment ID.

Name

Gets the role assignment name.

PrincipalId

Gets or sets the principal ID.

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'

Properties

Optional. Gets or sets role assignment properties.

RoleDefinitionId

Gets or sets the role definition ID.

Scope

Gets or sets the role assignment scope.

Type

Gets the role assignment type.

Applies to