get_user_info

This command retrieves the values for a user's personal information. Only fields to which the inquiring user has permission will be returned.

SYNTAX

http://www.myserver.com/evj/ExtraView/ev_api.action?
user_id=username
&password=password 
OR [&access_token=token-value]
&statevar=get_user_info
<&login_id=username2> || <security_user_id=username2>

NOTES

The user_id belongs to the user making the request. This user reuires administrative level access to retrieve the information for users other than theirself or they require read access to the USER.USER_ACCESS_UDF_DATA security permission key.  Either the login_id or the security_user_id of the user being inquired upon must be provided. The security_user_id is the user ID of the user being inquired upon.

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.

This is a sample of the data returned from the get_user_info API call. Note that the delimiter is that set in the behavior setting named DEFAULT_TEXT_REPORT_DELIMITER:

LOGIN_ID:A
LAST_NAME:Smith
FIRST_NAME:Bill
JOB_TITLE:Manager
WORK_TELEPHONE:(831) 461-7100
HOME_TELEPHONE:
CELL_PHONE:(831) 555-1212
FAX:
PAGER:
COMPANY_NAME:Superior Software Corporation
ADDRESS_LINE1:269 Mount Hermon Road
ADDRESS_LINE2:
CITY:Scotts Valley
STATE:CA
POSTAL_CODE:95066
COUNTRY:USA
ENABLED_USER:Y
USER_FIELD1:Yes
USER_FIELD2:Engineer