Class UserSession
Class representing a user session
Inherited Members
Namespace: DuetAPI.ObjectModel
Assembly: DuetAPI.dll
Syntax
public sealed class UserSession : ModelObject, IModelObject, ICloneable, INotifyPropertyChanged, INotifyPropertyChanging
Properties
AccessLevel
Access level of this session
Declaration
public AccessLevel AccessLevel { get; set; }
Property Value
Type | Description |
---|---|
AccessLevel |
Id
Identifier of this session
Declaration
public int Id { get; set; }
Property Value
Type | Description |
---|---|
int |
Origin
Origin of this session. For remote sessions, this equals the remote IP address
Declaration
public string Origin { get; set; }
Property Value
Type | Description |
---|---|
string |
OriginId
Corresponding identifier of the origin. If it is a remote session, it is the remote port, else it defaults to the PID of the current process
Declaration
public int OriginId { get; set; }
Property Value
Type | Description |
---|---|
int |
SessionType
Type of this session
Declaration
public SessionType SessionType { get; set; }
Property Value
Type | Description |
---|---|
SessionType |