FCF 2.0 development in progress...
> > > > > >
[News] [JS Packages API] [JS Downloads] [Donate to the project] [Contacts]

session from class fcf.Context

Property: session

Type: object

Class: fcf.Context

Package: fcf-framework-core

File: fcf.js

Available from version: 2.0.2

An object with information about the user, used to determine access rights.

  • object groups = {} - User groups. The key and value is the name of the group. When an object is created, the value is always equal to the default value.

  • object roles = {} - User roles. The key and value is the name of the role. When an object is created, the value is always equal to the default value.

  • string user = "" - Username. When an object is created, the value is always equal to the default value.