ArmAuthorizationModelFactory.AccessReviewActorIdentity Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static Azure.ResourceManager.Authorization.Models.AccessReviewActorIdentity AccessReviewActorIdentity(string principalId = default, Azure.ResourceManager.Authorization.Models.AccessReviewActorIdentityType? principalType = default, string principalName = default, string userPrincipalName = default);
static member AccessReviewActorIdentity : string * Nullable<Azure.ResourceManager.Authorization.Models.AccessReviewActorIdentityType> * string * string -> Azure.ResourceManager.Authorization.Models.AccessReviewActorIdentity
Public Shared Function AccessReviewActorIdentity (Optional principalId As String = Nothing, Optional principalType As Nullable(Of AccessReviewActorIdentityType) = Nothing, Optional principalName As String = Nothing, Optional userPrincipalName As String = Nothing) As AccessReviewActorIdentity
Parameters
- principalId
- String
The identity id.
- principalType
- Nullable<AccessReviewActorIdentityType>
The identity type : user/servicePrincipal.
- principalName
- String
The identity display name.
- userPrincipalName
- String
The user principal name(if valid).
Returns
A new AccessReviewActorIdentity instance for mocking.