The getuserinfo call returns information about the specified user.

Before using this API, Veracode strongly recommends that you read API Usage and Access Guidelines.

Resource URL


Non-human user accounts require the Admin API role to use this call. Human user accounts require the Administrator role to use this call.


username String. Required. This is usually the email address of the user.
custom_id String. Required if the username parameter is not provided.


 curl --compressed -u <VeracodeUsername> -F
        ""> userinfo.xml


The call returns the userinfo XML document, which references the userinfo.xsd. Additional userinfo.xsd schema documentation is available. Use the XSD file to validate the XML data. The following is an example of the returned XML.
<?xml version="1.0" encoding="UTF-8"?>
<userinfo xmlns:xsi="" xmlns=""​ xsi:schemaLocation=""​ username="">
<login_account first_name="jane" last_name="smith" login_account_type="user" email_address="" ​login_enabled="true" requires_token="true" teams="Team Python" roles="Reviewer,Creator,Any Scan" allowed_ip_addresses="" last_successful_login_date="2018-07-25T17:15:23-04:00"/>