Class UserSession
Class representing a user session
Implements
System.ICloneable
System.ComponentModel.INotifyPropertyChanging
System.ComponentModel.INotifyPropertyChanged
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: DuetAPI.Machine
Assembly: DuetAPI.dll
Syntax
public sealed class UserSession : ModelObject, ICloneable, INotifyPropertyChanging, INotifyPropertyChanged
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 |
---|---|
System.Int32 |
Origin
Origin of this session. For remote sessions, this equals the remote IP address
Declaration
public string Origin { get; set; }
Property Value
Type | Description |
---|---|
System.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 |
---|---|
System.Int32 |
SessionType
Type of this sessionSessionAccessLevel
Declaration
public SessionType SessionType { get; set; }
Property Value
Type | Description |
---|---|
SessionType |
Implements
System.ICloneable
System.ComponentModel.INotifyPropertyChanging
System.ComponentModel.INotifyPropertyChanged