getUserInfoResult

The getUserInfo() call returns a GetUserInfoResult object.

See getUserInfo() .

NameTypeDescription
accessibilityModebooleanAvailable in API version 7.0 and later. Indicates whether user interface modifications for the visually impaired are on (true) or off (false). The modifications facilitate the use of screen readers such as JAWS.
chatterExternalbooleanType of user license assigned to the Profile associated with the user. Indicates whether a user is part of the org or external. Available in API 40.0 and later.
currencySymbolstringCurrency symbol to use for displaying currency values. Applicable only when organizationMultiCurrency is false.
organizationIdIDID of the organization. Allows third-party tools to uniquely identify individual organizations in Salesforce, which is useful for retrieving billing or organization-wide setup information.
organizationMultiCurrencybooleanIndicates whether the user’s organization uses multiple currencies (true) or not (false).
organizationNamestringName of the user’s organization or company.
orgDefaultCurrencyIsoCodestringDefault currency ISO code. Applicable only when organizationMultiCurrency is false. When the logged-in user creates any objects that have a currency ISO code, the API uses this currency ISO code if it is not explicitly specified in the create() call.
orgDefaultCurrencyLocalestringDefault currency formatting. Applicable only when orgDefaultCurrencyIsoCode is used.
profileIDIDID of the profile associated with the role currently assigned to the user.
roleIDIDRole ID of the role currently assigned to the user.
sessionSecondsValidintThe number of seconds before the session expires, starting from the last update time. Available in API version 21.0 and later.
userDefaultCurrencyIsoCodestringDefault currency ISO code. Applicable only when organizationMultiCurrency is true. When the logged-in user creates any objects that have a currency ISO code, the API uses this currency ISO code if it is not explicitly specified in the create() call.
userEmailstringUser’s email address.
userFullNamestringUser’s full name.
userIDIDUser ID.
userLanguagestringUser’s language, which controls the language for labels displayed in an application. String is 2-5 characters long. The first two characters are always an ISO language code, for example “fr” or “en.” If the value is further qualified by country, then the string also has an underscore (_) and another ISO country code, for example “US” or “UK. For example, the string for the United States is “en_US”, and the string for French Canadian is “fr_CA.” For a list of the languages that Salesforce supports, see the Salesforce online help topic “What languages does Salesforce support?”
userLocalestringUser’s locale, which controls the formatting of dates and choice of symbols for currency. The first two characters are always an ISO language code, for example “fr” or “en.” If the value is further qualified by country, then the string also has an underscore (_) and another ISO country code, for example “US” or “UK. For example, the string for the United States is “en_US”, and the string for French Canadian is “fr_CA.”
userNamestringUser’s login name.
userTimeZonestringUser’s time zone.
userTypestringType of user license assigned to the Profile associated with the user.
userUiSkinstringAvailable in API version 7.0 and later. Possible values are:
  • theme3—If the user is using the Salesforce Classic 2010 user interface theme, also known as the Aloha interface
  • theme2—If the user is using the Salesforce Classic 2005 user interface theme
  • theme1—If the user is using the oldest user interface theme (obsolete)
In the online app, this look and feel setting is configurable from Setup by entering User Interface in the Quick Find box, then selecting User Interface. See User Interface Themes.