Share via


RoleAssignmentCommonProperties Constructor

Definition

Initializes a new instance of RoleAssignmentCommonProperties.

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

Parameters

roleId
System.String

Role Id of the Built-In Role.

principalId
System.String

Object ID of the AAD principal or security-group.

userName
System.String

User name.

dataTypeScope
System.Collections.Generic.IEnumerable<System.String>

Data Type Scope at which the role assignment is created.

principalType
System.String

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

role
DataProductUserRole

Data Product role to be assigned to a user.

Exceptions

System.ArgumentNullException

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

Applies to