Share via


UserIdentity Constructors

Definition

Overloads

UserIdentity()

Initializes a new instance of the UserIdentity class.

UserIdentity(String, AutoUserSpecification)

Initializes a new instance of the UserIdentity class.

UserIdentity()

Initializes a new instance of the UserIdentity class.

public UserIdentity ();
Public Sub New ()

Applies to

UserIdentity(String, AutoUserSpecification)

Initializes a new instance of the UserIdentity class.

public UserIdentity (string userName = default, Microsoft.Azure.Management.Batch.Models.AutoUserSpecification autoUser = default);
new Microsoft.Azure.Management.Batch.Models.UserIdentity : string * Microsoft.Azure.Management.Batch.Models.AutoUserSpecification -> Microsoft.Azure.Management.Batch.Models.UserIdentity
Public Sub New (Optional userName As String = Nothing, Optional autoUser As AutoUserSpecification = Nothing)

Parameters

userName
String

The name of the user identity under which the task is run.

autoUser
AutoUserSpecification

The auto user under which the task is run.

Applies to