Table of Contents


$systemInfo

This object within JavaScript provides overall information about system settings and the current user.

Using this object can help you in program logic when you need to access the current user's type, role, active languages, locale and currency settings, and a lot more.


Example:

var $partnerMessageBlock = $("#partnerMessage");
var $mspMessageBlock = $("#mcpMessage");

if ($systemInfo.roleName == "MSP")
    $mspMessageBlock.show();
else
    $partnerMessageBlock.hide();

 

Properties

Property NameProperty TypeDescription
active_languagesstringList of supported language codes
appNamestringName of the application or community
companyCurrencySymbolstringCurrency symbol used by the company
dateFormatstringFormat used for displaying dates
digitSeparatorstringSymbol used for separating digits (current locale)
display_user_currencybooleanWhether to show the user-specific currency
editionstringEdition of the application
groupingSeparatorstringSymbol used for grouping digits (current locale)
guestbooleanIndicates if the user is a guest (public user)
imprbooleanImpressions tracking (login as)
ipAddressstringIP address of the user
isMobileServiceActivebooleanIndicates if the mobile service is active
langstringCurrent language code
licensesstringList of assigned licenses
localestringLocale code
multi_currencybooleanIndicates if multiple currencies are supported
preferred_currencystringUser's preferred currency (ISO Code)
productsstringList of active products 
rewardsbooleanIndicates if rewards are enabled
rolestringRole name of the user
roleTypestringType of role (guest, admin, employee, partner, customer)
site_descstringDescription or ID of the site
site_imagestringPath or URL to the site image
userCurrencySymbolstringCurrency symbol for the user (ISO Code)
userIdstringUnique identifier for the user
user_timezonestringTimezone of the user