getLoggedInUserInfo

From AgileApps Support Wiki

Jump to: navigation, search
Functions.getLoggedInUserInfo()
Description
Retrieves information about a Logged in User via the Java API
In addition to the fields are listed in REST API:user Resource, this API returns the following:
NameTypeAttributeDescriptionAdditional Information
localeObjectRead Only Identifies the user's language and country code java.util.Locale
Syntax
Map<String,Object> Functions.getLoggedInUserInfo()
Return
Map containing user information
Example
Map user = Functions.getLoggedInUserInfo();
Logger.info(user, "UserInfo");
Logger.info(user.get("last_name"), "UserInfo");
Personal tools