Share via


User Constructors

Definition

Overloads

User()

Initializes a new instance of the User class.

User(String, String, String, AsymmetricEncryptedSecret, IList<ShareAccessRight>)

Initializes a new instance of the User class.

User()

Initializes a new instance of the User class.

public User ();
Public Sub New ()

Applies to

User(String, String, String, AsymmetricEncryptedSecret, IList<ShareAccessRight>)

Initializes a new instance of the User class.

public User (string id = default, string name = default, string type = default, Microsoft.Azure.Management.EdgeGateway.Models.AsymmetricEncryptedSecret encryptedPassword = default, System.Collections.Generic.IList<Microsoft.Azure.Management.EdgeGateway.Models.ShareAccessRight> shareAccessRights = default);
new Microsoft.Azure.Management.EdgeGateway.Models.User : string * string * string * Microsoft.Azure.Management.EdgeGateway.Models.AsymmetricEncryptedSecret * System.Collections.Generic.IList<Microsoft.Azure.Management.EdgeGateway.Models.ShareAccessRight> -> Microsoft.Azure.Management.EdgeGateway.Models.User
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional encryptedPassword As AsymmetricEncryptedSecret = Nothing, Optional shareAccessRights As IList(Of ShareAccessRight) = Nothing)

Parameters

id
String

The path ID that uniquely identifies the object.

name
String

The object name.

type
String

The hierarchical type of the object.

encryptedPassword
AsymmetricEncryptedSecret

The password details.

shareAccessRights
IList<ShareAccessRight>

List of shares that the user has rights on. This field should not be specified during user creation.

Applies to