RoleAssignmentCreateParameters Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
RoleAssignmentCreateParameters() |
Initializes a new instance of the RoleAssignmentCreateParameters class. |
RoleAssignmentCreateParameters(String, String, PrincipalType, Nullable<Boolean>) |
Initializes a new instance of the RoleAssignmentCreateParameters class. |
RoleAssignmentCreateParameters()
Initializes a new instance of the RoleAssignmentCreateParameters class.
public RoleAssignmentCreateParameters ();
Public Sub New ()
Applies to
RoleAssignmentCreateParameters(String, String, PrincipalType, Nullable<Boolean>)
Initializes a new instance of the RoleAssignmentCreateParameters class.
public RoleAssignmentCreateParameters (string roleDefinitionId, string principalId, Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.PrincipalType principalType = default, bool? canDelegate = default);
new Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.RoleAssignmentCreateParameters : string * string * Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.PrincipalType * Nullable<bool> -> Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.RoleAssignmentCreateParameters
Public Sub New (roleDefinitionId As String, principalId As String, Optional principalType As PrincipalType = Nothing, Optional canDelegate As Nullable(Of Boolean) = Nothing)
Parameters
- roleDefinitionId
- String
The role definition ID used in the role assignment.
- principalId
- String
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
- PrincipalType
The principal type of the assigned principal ID. Possible values include: 'User', 'Group', 'ServicePrincipal', 'Unknown', 'DirectoryRoleTemplate', 'ForeignGroup', 'Application', 'MSI', 'DirectoryObjectOrGroup', 'Everyone'
Applies to
Azure SDK for .NET