共用方式為


User Constructors

Definition

Overloads

User()

Initializes a new instance of the User class.

User(String, String, String, String, SystemData, 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, String, SystemData, AsymmetricEncryptedSecret, IList<ShareAccessRight>)

Initializes a new instance of the User class.

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

Parameters

userType
String

Type of the user. Possible values include: 'Share', 'LocalManagement', 'ARM'

id
String

The path ID that uniquely identifies the object.

name
String

The object name.

type
String

The hierarchical type of the object.

systemData
SystemData

User in DataBoxEdge Resource

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