Partager 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
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.

Exceptions

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

Applies to