Compartir a través de


RoleAssignmentDetail Constructor

Definition

Initializes a new instance of RoleAssignmentDetail.

public RoleAssignmentDetail (string roleId, string principalId, string userName, System.Collections.Generic.IEnumerable<string> dataTypeScope, string principalType, Azure.ResourceManager.NetworkAnalytics.Models.DataProductUserRole role, string roleAssignmentId);
new Azure.ResourceManager.NetworkAnalytics.Models.RoleAssignmentDetail : string * string * string * seq<string> * string * Azure.ResourceManager.NetworkAnalytics.Models.DataProductUserRole * string -> Azure.ResourceManager.NetworkAnalytics.Models.RoleAssignmentDetail
Public Sub New (roleId As String, principalId As String, userName As String, dataTypeScope As IEnumerable(Of String), principalType As String, role As DataProductUserRole, roleAssignmentId As String)

Parameters

roleId
String

Role Id of the Built-In Role.

principalId
String

Object ID of the AAD principal or security-group.

userName
String

User name.

dataTypeScope
IEnumerable<String>

Data Type Scope at which the role assignment is created.

principalType
String

Type of the principal Id: User, Group or ServicePrincipal.

role
DataProductUserRole

Data Product role to be assigned to a user.

roleAssignmentId
String

Id of role assignment request.

Exceptions

roleId, principalId, userName, dataTypeScope, principalType or roleAssignmentId is null.

Applies to