Bagikan melalui


UserSessionProperties Class

Definition

Schema for UserSession properties.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20230905.UserSessionPropertiesTypeConverter))]
public class UserSessionProperties : Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20230905.IUserSessionProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20230905.UserSessionPropertiesTypeConverter))>]
type UserSessionProperties = class
    interface IUserSessionProperties
    interface IJsonSerializable
Public Class UserSessionProperties
Implements IUserSessionProperties
Inheritance
UserSessionProperties
Attributes
Implements

Constructors

UserSessionProperties()

Creates an new UserSessionProperties instance.

Properties

ActiveDirectoryUserName

The active directory user name.

ApplicationType

Application type of application.

CreateTime

The timestamp of the user session create.

ObjectId

ObjectId of user session. (internal use)

SessionState

State of user session.

UserPrincipalName

The user principal name.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of UserSessionProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of UserSessionProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20230905.IUserSessionProperties.

FromJsonString(String)

Creates a new instance of UserSessionProperties, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of UserSessionProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to