0

User management

An overview of all user management related functions

 

clientLang

To return the currently used language of the browser or app in abbreviated form

 

isAdminMode

To return Yes (true) if the edit mode is on

 

isDatabaseLocked

To return Yes (true) if the database is locked

 

isDatabaseProtected

To return Yes (true) if a password is needed to activate the edit mode

 

ninoxApp

To return the type of platform that is currently being used

 

user

To return the current or a specific user

 

userEmail

To return the email address of a user

 

userFirstName

To return the first name of a user

 

userFullName

To return the full name of a user

 

userHasRole

To return Yes (true) if a user has a given role

 

userId

To return the ID of a user

 

userIsAdmin

To return Yes (true) if the current user has the admin role

 

userLastName

To return the last name of a user

 

userName

To return the username of a user

 

userRole

To return the role of a user

 

userRoles

To return all roles of a user

 

users

To return the IDs of all current users in an array

Reply

null