Get User Details API

Use this API to return details for a user in the API user’s scope.

GET  POST  /qps/rest/1.0/get/saq/user/

Permissions

 User must have the Security Assessment Questionnaire (SAQ) module enabled, User must have API ACCESS permission, Output includes users within the API user's scope.

Input ParameterInput Parameter

The element id (Integer) is required, where id identifies a user of interest.

Sample - Get Details on UserSample - Get Details on User

API Request

curl -u "USERNAME:PASSWORD" -X GET http://<qualysbaseurl>/qps/rest/1.0/get/saq/user/400591 

 

Response

 <?xml version="1.0" encoding="UTF-8"?>
<ServiceResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://<qualysbaseurl>/qps/xsd/1.0/saq/user.xsd">
    <responseCode>SUCCESS</responseCode>
    <count>1</count>
    <data>
        <User>
            <id>400591</id>
            <uuid>2277d4ff-9068-44f2-97d0-ccf35cfa1679</uuid>
            <firstName>qualys2</firstName>
            <lastName>q</lastName>
            <company>qualys</company>
            <emailAddress>user@abc.com</emailAddress>
            <userName>user</userName>
            <title>dev</title>
            <tags>
                <Tag>
                    <id>7513412</id>
                    <name>Malware Domain Assets</name>
                </Tag>
                <Tag>
                    <id>7533412</id>
                    <name>fadi&apos;s tag</name>
                </Tag>
                <Tag>
                    <id>7508422</id>
                    <name>Business Units</name>
                </Tag>
                <Tag>
                    <id>7520414</id>
                    <name>test2</name>
                </Tag>
                <Tag>
                    <id>7546412</id>
                    <name>Passive Scanning</name>
                </Tag>
                <Tag>
                    <id>7553612</id>
                    <name>tag1</name>
                </Tag>
                <Tag>
                    <id>7553812</id>
                    <name>tag2</name>
                </Tag>
            </tags>
        </User>
    </data>
</ServiceResponse>

XSDXSD

<platform API server>/qps/xsd/1.0/saq/user.xsd