Has access to system collections and is always available as a global value in scripts:

const cu = await System.users.getCurrentUser();

Type parameters

Hierarchy

  • SystemCollections

Properties

Readonly cache

cache: ICache

Cache to temporary store data on the server.

Readonly company

company: CompanyInfo

Company data.

Readonly converter

converter: Converter

File converting.

Readonly digitalSigns Deprecated

digitalSigns: DigitalSigns
Deprecated

Digital signatures.

Digital signatures are moved to System.signs. This property is going to be deleted.

Readonly directories

directories: Directories

Directories.

Readonly files

files: Files

Files.

Readonly lines

Live Chats.

Readonly mailbox

mailbox: Mailbox

Mailbox.

Readonly organisationStructure

organisationStructure: OrganisationStructure

Organizational chart.

Readonly portals

portals: Portals

Portals.

Readonly processes

processes: P

Processes.

Readonly productionSchedule

productionSchedule: ProductionSchedule

Business calendar.

Readonly reminders

reminders: Reminders

Reminder.

Readonly replacements

replacements: Replacements

Substitutions.

Readonly signs

signs: Signs

Digital signatures service.

Readonly storage

storage: IStorage

Long-term storage used to store any string data on the server.

Readonly templater

templater: Templater

Templater.

timezones

timezones: TTimezones

Time zones.

Readonly userGroups

userGroups: UserGroups

User groups.

Readonly users

users: Users

Users.

Readonly watermark

watermark: Watermarks

Service for working with watermarks.

Methods

getBaseUrl Deprecated

  • getBaseUrl(): string
  • Deprecated

    Get the company’s base URL.

    Use System.company.url.

    Returns string

getLanguages Deprecated

  • Deprecated

    Get languages available in the system.

    Use the System.company.getLanguages() method.

    Returns Promise<Language[]>