Search Results for

    Show / Hide Table of Contents

    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 Source

    IsADUser

    Gets or sets whether the current user is an active directory user

    Declaration
    public bool IsADUser { get; set; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    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
    | Improve this Doc View Source

    Organizations

    Gets or sets all available tenant organizations

    Declaration
    public IReadOnlyList<Organization> Organizations { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.IReadOnlyList<Organization>
    | Improve this Doc View Source

    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>
    | Improve this Doc View Source

    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
    | Improve this Doc View Source

    UserBitMask

    Gets the currently logged in users id as bit mask

    Declaration
    public string UserBitMask { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    UserId

    Gets the currently logged in user id

    Declaration
    public int UserId { get; set; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    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 Source

    OrganizationSelectionChanged

    Tenant changed event

    Declaration
    public event OrganizationSelectionChangedEventHandler OrganizationSelectionChanged
    Event Type
    Type Description
    OrganizationSelectionChangedEventHandler
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx