Share via


UserIdentity Constructors

Definition

Overloads

UserIdentity(AutoUserSpecification)

Initializes a new instance of the UserIdentity class.

UserIdentity(String)

Initializes a new instance of the UserIdentity class.

UserIdentity(AutoUserSpecification)

Source:
UserIdentity.cs

Initializes a new instance of the UserIdentity class.

public UserIdentity (Microsoft.Azure.Batch.AutoUserSpecification autoUserSpecification);
new Microsoft.Azure.Batch.UserIdentity : Microsoft.Azure.Batch.AutoUserSpecification -> Microsoft.Azure.Batch.UserIdentity
Public Sub New (autoUserSpecification As AutoUserSpecification)

Parameters

autoUserSpecification
AutoUserSpecification

The auto user under which the task is run.

Applies to

UserIdentity(String)

Source:
UserIdentity.cs

Initializes a new instance of the UserIdentity class.

public UserIdentity (string userName);
new Microsoft.Azure.Batch.UserIdentity : string -> Microsoft.Azure.Batch.UserIdentity
Public Sub New (userName As String)

Parameters

userName
String

The user name of the user identity.

Applies to