get_roles
This action retrieves a list of available roles for a given user.
SYNTAX
http://www.myserver.com/evj/ExtraView/ev_api.action?
user_id=username
&password=password OR [&access_token=token-value]
&statevar=get_roles
NOTES
The delimiter ‘:’ in the example is the system delimiter stored in the application default named DEFAULT_TEXT_REPORT_DELIMITER.
The asterisk (*) indicates the current role of the user.
Sample return from the get_roles
function:
ENGINEERING:Engineering
*QA:Quality Assurance
MNGMT:Management
ADMIN:Administrator
The optional access_token
parameter allows you to use a valid OAuth2 token obtained with the get_token
command. If you provide the access_token
parameter, then the user_id
and password
parameters should not be provided. This prevents the password being sent in clear text over your network connection.