details
Get User information.
Description
Returns information about the group that the user belongs to. Also can get the current user if the user argument is blank.
Parameters
- action
- details
- user
- The user name or the current user if blank.
Example URL
http://<host>:<port>/<context>/web/user.xql?action=details&user=<value>
Successful Result
If successful, returns XML: <user name="username" groups="list of groups"/>
Failed Result
Accessing this API feature requires the "Manage application" permission, and the function will throw a permission exception if the permission is not available. If SSO is active, this also returns an error.