getLoggedInUserInfo
From AgileApps Support Wiki
Revision as of 22:12, 20 December 2010 by imported>Aeric (Text replace - 'getLoggedInUserInfo(' to 'Functions.getLoggedInUserInfo(')
- 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:
Name Type Attribute Description Additional Information locale Object Read Only Identifies the user's language and country code java.util.Locale
- Syntax
Map<String,Object> Functions.getLoggedInUserInfo()
- Return
- Map containing user information
- Example
- <syntaxhighlight lang="java" enclose="div">
Map user = Functions.getLoggedInUserInfo(); Functions.debug(user); Functions.debug(user.get("last_name")); </syntaxhighlight>