Indicates whether the session is currently active.
An active session means the user is authenticated and can perform operations. Sessions become inactive after logout or timeout.
Configuration and state of enabled addons/plugins.
Contains a key-value map of addon names to their configuration objects. The structure of each addon's configuration depends on the addon itself.
Indicates whether the user has administrative privileges.
Admin users typically have access to system configuration, user management, and other administrative features not available to regular users.
Application Performance Monitoring (APM) configuration.
Contains settings for performance tracking and monitoring tools. The exact structure depends on the APM provider being used.
The name of the Lime CRM application.
Identifies which application/database the user is connected to.
The name of the underlying database.
Technical database identifier, usually matching the application name but may differ in some configurations.
User-friendly display name for the application.
This is the name shown in the UI, which may be different from the technical application name. Often includes company or department name.
Optional expirationISO 8601 timestamp when the session will expire.
After this time, the session becomes invalid and the user must re-authenticate.
Feature flags controlling available functionality.
A key-value map where keys are feature names and values indicate whether the feature is enabled.
Unique identifier for this session.
Used for session tracking, logging, and debugging. Each login creates a new session with a unique ID.
ISO 8601 timestamp when the user logged in.
Marks the start of the session.
Optional logoutISO 8601 timestamp when the user logged out.
Only present after the user has explicitly logged out. Not set for sessions that timeout.
Optional serviceApplication service instance number.
Session timeout duration in seconds.
Indicates how long a session can be idle before it automatically expires. The actual expiration time is calculated from the last activity.
The ID of the authenticated user.
References the User.id property. Used to identify which user owns this session.
Name or identifier of the user's workstation.
Typically the computer name or IP address from which the user logged in.
Represents an active user session in Lime CRM.
The Session object contains comprehensive information about the current user's authenticated session, including login details, enabled features, administrative privileges, and session timing. This information is crucial for security, feature availability, and session management.
Example
Example