Share via


ArmAuthorizationModelFactory.RoleManagementPrincipal Method

Definition

Initializes a new instance of RoleManagementPrincipal.

public static Azure.ResourceManager.Authorization.Models.RoleManagementPrincipal RoleManagementPrincipal (string id = default, string displayName = default, Azure.ResourceManager.Authorization.Models.RoleManagementPrincipalType? principalType = default, string email = default);
static member RoleManagementPrincipal : string * string * Nullable<Azure.ResourceManager.Authorization.Models.RoleManagementPrincipalType> * string -> Azure.ResourceManager.Authorization.Models.RoleManagementPrincipal
Public Shared Function RoleManagementPrincipal (Optional id As String = Nothing, Optional displayName As String = Nothing, Optional principalType As Nullable(Of RoleManagementPrincipalType) = Nothing, Optional email As String = Nothing) As RoleManagementPrincipal

Parameters

id
String

The id of the principal made changes.

displayName
String

The name of the principal made changes.

principalType
Nullable<RoleManagementPrincipalType>

Type of the principal.

email
String

Email of principal.

Returns

A new RoleManagementPrincipal instance for mocking.

Applies to