Sdílet prostřednictvím


DevTestLabUserIdentity Class

Definition

Identity attributes of a lab user.

public class DevTestLabUserIdentity : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DevTestLabs.Models.DevTestLabUserIdentity>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DevTestLabs.Models.DevTestLabUserIdentity>
public class DevTestLabUserIdentity
type DevTestLabUserIdentity = class
    interface IJsonModel<DevTestLabUserIdentity>
    interface IPersistableModel<DevTestLabUserIdentity>
type DevTestLabUserIdentity = class
Public Class DevTestLabUserIdentity
Implements IJsonModel(Of DevTestLabUserIdentity), IPersistableModel(Of DevTestLabUserIdentity)
Public Class DevTestLabUserIdentity
Inheritance
DevTestLabUserIdentity
Implements

Constructors

DevTestLabUserIdentity()

Initializes a new instance of DevTestLabUserIdentity.

Properties

AppId

Set to the app Id of the client JWT making the request.

ObjectId

Set to the object Id of the client JWT making the request. Not all users have object Id. For CSP (reseller) scenarios for example, object Id is not available.

PrincipalId

Set to the principal Id of the client JWT making the request. Service principal will not have the principal Id.

PrincipalName

Set to the principal name / UPN of the client JWT making the request.

TenantId

Set to the tenant ID of the client JWT making the request.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DevTestLabUserIdentity>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<DevTestLabUserIdentity>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DevTestLabUserIdentity>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DevTestLabUserIdentity>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<DevTestLabUserIdentity>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to