Options
All
  • Public
  • Public/Protected
  • All
Menu

  subscribe now with sterfive to access the online-user manual

Hierarchy

  • SessionContext

Implements

Index

Constructors

constructor

Properties

continuationPoints

continuationPoints: any

Optional currentTime

currentTime: PreciseClock

object

object: any

Optional Readonly server

server: IServerBase

Optional Readonly session

session: ISessionBase

Optional userIdentity

userIdentity: string

Static defaultContext

defaultContext: SessionContext

Methods

checkPermission

  • method

    checkPermission

    Parameters

    Returns boolean

    returns true of the current user is granted the requested Permission

currentUserHasRole

getAccessRestrictions

getApplicableRolePermissions

getCurrentUserRoles

  • getCurrentUserRoles(): NodeId[]
  • getCurrentUserRoles

    guest => anonymous user (unauthenticated) default => default authenticated user

    Returns NodeId[]

getPermissions

  • Parameters

    Returns PermissionFlag

isAccessRestricted

  • isAccessRestricted(node: BaseNode): boolean
  • Parameters

    Returns boolean

    true if the context is access restricted

isBrowseAccessRestricted

  • isBrowseAccessRestricted(node: BaseNode): boolean

Generated using TypeDoc