UserAccessRight Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The mapping between a particular user and the access type on the SMB share.
public class UserAccessRight : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DataBoxEdge.Models.UserAccessRight>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DataBoxEdge.Models.UserAccessRight>
public class UserAccessRight
type UserAccessRight = class
interface IJsonModel<UserAccessRight>
interface IPersistableModel<UserAccessRight>
type UserAccessRight = class
Public Class UserAccessRight
Implements IJsonModel(Of UserAccessRight), IPersistableModel(Of UserAccessRight)
Public Class UserAccessRight
- Inheritance
-
UserAccessRight
- Implements
Constructors
UserAccessRight(ResourceIdentifier, ShareAccessType) |
Initializes a new instance of UserAccessRight. |
Properties
AccessType |
Type of access to be allowed for the user. |
UserId |
User ID (already existing in the device). |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<UserAccessRight>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<UserAccessRight>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<UserAccessRight>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<UserAccessRight>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<UserAccessRight>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |