Related links
Front-End Scripting
CMS - Content Management & Web API services
Task, Project, Quality
Task & Task pattern
System Management (part of framework)
HR - Human Resources
Mobile & Web Application
- clientprogramming_fevaldataobject
- userinterface-objectstructure
- cliplink
- npmlibraries
- fclip
- drag-drop
- AyMINE Application
- objectdefinition_inlineedit
- npmlibraries_stringlibrary
- clientprogramming
- mobileapplication
- languagesupport
- objectdefinition_multiupdate
- clientprogramming_fevalglobal
- clientprogramming_fevallanguage
- clientprogramming_fevaluser
- objectdefinition_viewdefinition
- offlineobjects
- System console
- Runtime debugging
- objectdefinition_detailview
Framework Core functionality
- prices
- managementfaq
- prices_private-installation
- clientdefinedattributes
- phplibraries
- servermethods
- io_export
- AyMINE Framework Server
- The AyMINE licence model
- System Rights
- servermethods_frmfrm
- io_import
- multiclient-architecture
- servermethods_stringsandtranslations
- frmevent
- System messaging
- usersessions
- User defined fields
Libraries & Lincences
Module - support for management
FI - Finance Management
Sales & Asset management
Sales related services
Description of a part of the AM module - sales partObject USER - Documentation
Object is used under si name user. It is generally available so that it can be used anywhere in all methods
The evalUserObj class provides various methods and properties to retrieve user-related information and perform checks regarding the user's roles, permissions, and settings in the system. Below is the full documentation of all available methods and properties.
Properties
number
Returns the user ID as a number. Be cautious about the type control; use == (not ===) to compare with values from the database.
number
Returns the sysUserID of the logged-in user as a number.
number
Returns the sysClientID as a number. Be cautious about conversions.
number
Returns an alternative name for the sysClientID in case the script needs to distinguish between different values.
boolean
Returns true if any debug mode is active. Be careful about using this, as a regular user might know how to start debug mode.
boolean
Returns whether the user has allowed notifications.
boolean
Returns true if the user is logged into a public company, based on the system settings.
boolean
Returns true if the user’s assigned computer is trusted (note that the concept of 'safe' is not yet fully implemented).
boolean
Returns true if the user requests help links to be shown. This is primarily used in the primary menu.
string
Returns the name of the trusted device or undefined if the device is not trusted.
boolean
Returns true if the user has an active wallet.
string
Returns a comma-separated list of roles that the user has.
string
Returns the name of the client company the user is logged into.
string
Returns the preferred language set by the user for messages and translations.
string
Returns a string representing the user's description, typically the full name (surname + name).
string
Returns the description of the client, if available.
boolean
Returns true if the user has a developer position.
boolean
Returns true if the client is public, based on client settings.
boolean
Returns true if the client is a test client (based on the client settings).
Methods
boolean
Checks if the user has the specified right(s). The rights are given as a list of strings in the format sys@sys1User.doSomething.
boolean
Checks if the user has any of the specified roles. Takes one or more role IDs.
boolean
Checks if the user is active in any of the specified system processes. The processes are given as a list of shortcuts (e.g., ['SR', 'HR']).
boolean
Checks if the user has access to the specified module.
boolean
Checks if the user has access to a specific option of a module (defined by the superadmin).
string
Returns the text value of a module option, defined by the superadmin in the module settings.
void
Loads user-related data, such as module attributes and dashboard settings.
evalUserObj
Initializes the evalUserObj object and loads the initial data.
Static Methods
evalUserObj
Returns the singleton instance of the evalUserObj class.