Class Session
An object holding information about the current logged in user
Inheritance
System.Object
Session
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Simplic.Session
Assembly: Simplic.Session.dll
Syntax
public class Session
Properties
| Improve this Doc View SourceIsADUser
Gets or sets whether the current user is an active directory user
Declaration
public bool IsADUser { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsSuperUser
Gets the currently logged in users role (wether its a super user or not)
Declaration
public bool IsSuperUser { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Organizations
Gets or sets all available tenant organizations
Declaration
public IReadOnlyList<Organization> Organizations { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyList<Organization> |
UserAccessGroups
Gets the currently logged in users access groups
Declaration
public IList<int> UserAccessGroups { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<System.Int32> |
UserAccessGroupsBitMask
Gets the currently logged in users access groups ids as bit mask
Declaration
public string UserAccessGroupsBitMask { get; set; }
Property Value
Type | Description |
---|---|
System.String |
UserBitMask
Gets the currently logged in users id as bit mask
Declaration
public string UserBitMask { get; set; }
Property Value
Type | Description |
---|---|
System.String |
UserId
Gets the currently logged in user id
Declaration
public int UserId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
UserName
Gets the currently logged in user name
Declaration
public string UserName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Events
| Improve this Doc View SourceOrganizationSelectionChanged
Tenant changed event
Declaration
public event OrganizationSelectionChangedEventHandler OrganizationSelectionChanged
Event Type
Type | Description |
---|---|
OrganizationSelectionChangedEventHandler |