auth_xml
Display single or all functions (permissions) configured for a user, in XML format.
Description
This functions displays a single function (permission), or all functions configured for a specified user, in XML format.
Parameters
- action
- auth_xml
- user
- Name of a user in SDL LiveContent Reach application. If not provided, defaults to the current user.
- function
- Name of a function (i.e. permission) in SDL LiveContent Reach application. If not provided, all permissions available will be returned.
Example URL
http://<host>:<port>/<context>/web/admin.xql?action=auth_xml&user=<value>&function=<value>
Successful Result
A single 'auth' element with a single 'function' element indicating whether a user has the specified permission; or, if no function is specified, a single auth element with multiple function children for each permission configured.
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. Also, if Single Sign-On is enabled, an error is returned.