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

session property from fcf.Context class

object session

Class: fcf.Context

File: fcf-framework-core: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.