UserSession Interface

public interface UserSession

An immutable client-side representation of UserSession.

Method Summary

Modifier and Type Method and Description
abstract String activeDirectoryUsername()

Gets the activeDirectoryUsername property: The active directory user name.

abstract ApplicationType applicationType()

Gets the applicationType property: Application type of application.

abstract OffsetDateTime createTime()

Gets the createTime property: The timestamp of the user session create.

abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

abstract UserSessionInner innerModel()

Gets the inner com.azure.resourcemanager.desktopvirtualization.fluent.models.UserSessionInner object.

abstract String name()

Gets the name property: The name of the resource.

abstract String objectId()

Gets the objectId property: ObjectId of user session.

abstract SessionState sessionState()

Gets the sessionState property: State of user session.

abstract SystemData systemData()

Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

abstract String type()

Gets the type property: The type of the resource.

abstract String userPrincipalName()

Gets the userPrincipalName property: The user principal name.

Method Details

activeDirectoryUsername

public abstract String activeDirectoryUsername()

Gets the activeDirectoryUsername property: The active directory user name.

Returns:

the activeDirectoryUsername value.

applicationType

public abstract ApplicationType applicationType()

Gets the applicationType property: Application type of application.

Returns:

the applicationType value.

createTime

public abstract OffsetDateTime createTime()

Gets the createTime property: The timestamp of the user session create.

Returns:

the createTime value.

id

public abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

Returns:

the id value.

innerModel

public abstract UserSessionInner innerModel()

Gets the inner com.azure.resourcemanager.desktopvirtualization.fluent.models.UserSessionInner object.

Returns:

the inner object.

name

public abstract String name()

Gets the name property: The name of the resource.

Returns:

the name value.

objectId

public abstract String objectId()

Gets the objectId property: ObjectId of user session. (internal use).

Returns:

the objectId value.

sessionState

public abstract SessionState sessionState()

Gets the sessionState property: State of user session.

Returns:

the sessionState value.

systemData

public abstract SystemData systemData()

Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

type

public abstract String type()

Gets the type property: The type of the resource.

Returns:

the type value.

userPrincipalName

public abstract String userPrincipalName()

Gets the userPrincipalName property: The user principal name.

Returns:

the userPrincipalName value.

Applies to