共用方式為


UserAccessRight(ResourceIdentifier, ShareAccessType) Constructor

Definition

Initializes a new instance of UserAccessRight.

public UserAccessRight (Azure.Core.ResourceIdentifier userId, Azure.ResourceManager.DataBoxEdge.Models.ShareAccessType accessType);
new Azure.ResourceManager.DataBoxEdge.Models.UserAccessRight : Azure.Core.ResourceIdentifier * Azure.ResourceManager.DataBoxEdge.Models.ShareAccessType -> Azure.ResourceManager.DataBoxEdge.Models.UserAccessRight
Public Sub New (userId As ResourceIdentifier, accessType As ShareAccessType)

Parameters

userId
ResourceIdentifier

User ID (already existing in the device).

accessType
ShareAccessType

Type of access to be allowed for the user.

Exceptions

userId is null.

Applies to