Share via


AccessControlModelFactory.RoleAssignmentDetails Method

Definition

Initializes a new instance of RoleAssignmentDetails.

public static Azure.Analytics.Synapse.AccessControl.Models.RoleAssignmentDetails RoleAssignmentDetails (string id = default, Guid? roleDefinitionId = default, Guid? principalId = default, string scope = default, string principalType = default);
static member RoleAssignmentDetails : string * Nullable<Guid> * Nullable<Guid> * string * string -> Azure.Analytics.Synapse.AccessControl.Models.RoleAssignmentDetails
Public Shared Function RoleAssignmentDetails (Optional id As String = Nothing, Optional roleDefinitionId As Nullable(Of Guid) = Nothing, Optional principalId As Nullable(Of Guid) = Nothing, Optional scope As String = Nothing, Optional principalType As String = Nothing) As RoleAssignmentDetails

Parameters

id
String

Role Assignment ID.

roleDefinitionId
Nullable<Guid>

Role ID of the Synapse Built-In Role.

principalId
Nullable<Guid>

Object ID of the AAD principal or security-group.

scope
String

Scope at the role assignment is created.

principalType
String

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

Returns

A new RoleAssignmentDetails instance for mocking.

Applies to