User Details
Use this API to get the user details.
The API request and response are in JSON format. Some characters, such as backslash (\) and double quotes (") in passwords or other fields may appear escaped in raw JSON responses. It is recommended to alway as parse responses using standard JSON parser to retrieve the correct values.
Sample - Get the user detailsSample - Get the user details
API request
curl --location --request GET '<qualys_base_url>/adminui/user-management/v1/user/1016052087' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <JWT_Token>'
--data ''
Response
[
{
"userDetails": {
"id": 1016052087,
"username": "rxxx_axx",
"qgAccountId": 1096089,
"uuid": "7xxx68aa-xxx0-6657-8xxx-28a408exxxxx",
"firstName": "axxxxvm",
"lastName": "axxxjb",
"emailId": "a@xxx.com",
"title": "asqwedqqedq",
"language": "EN",
"zipCode": "13234",
"state": "None",
"country": "Afghanistan",
"address": "dfjkds hfj",
"status": "ACTIVATION",
"allowLogin": false,
"phone": "12334535",
"excludeAgentAssetsFromIPRange": false,
"transferPersonalInfo": false,
"transferAssetGroups": false,
"superUSer": false,
"accessAll": false
},
"locale": {
"userLanguage": "English",
"userDateFormat": "US Format (mm/dd/yyyy)",
"userTimeZone": "Asia/Calcutta",
"userLimit": 0,
"userCurrentUsage": "50 mb",
"userDownloadFormat": "Comma-Separated Value (CSV)"
},
"userType": "REGULAR",
"qwebUserRole": "Manager",
"additionalRoles": [
{
"id": 8640726,
"name": "Reporting Reader",
"description": "Reporting Reader",
"createdBy": {},
"updatedBy": {}
},
{
"id": 8641292,
"name": "CA MANAGER",
"description": "Cloud Agent Manager User",
"createdBy": {},
"updatedBy": {
"id": 23035622,
"username": "rxxx_xx",
"firstname": "Gxxxxv"
}
},
{
"id": 9056425,
"name": "Global AI Manager",
"description": "Global AI Manager",
"createdBy": {
"id": 23035622,
"username": "rxxx_xx",
"firstname": "Gxxxxv"
},
"updatedBy": {
"id": 23035622,
"username": "rxxx_xx",
"firstname": "Gxxxxv"
}
},
{
"id": 8641649,
"name": "Unified Dashboard User",
"description": "Unified Dashboard User",
"createdBy": {},
"updatedBy": {}
},
{
"id": 8640725,
"name": "PC User",
"description": "PC User",
"createdBy": {},
"updatedBy": {}
},
{
"id": 8640724,
"name": "VM User",
"description": "VM User",
"createdBy": {},
"updatedBy": {}
},
{
"id": 8640727,
"name": "Reporting Manager",
"description": "Reporting Manager",
"createdBy": {},
"updatedBy": {}
}
],
"notification": {
"latestControls": "None",
"exception": "None",
"report": "None",
"latestVulns": "None"
},
"security": {},
"buTag": {
"tagId": 30509058,
"id": "xxxx61e6-a5xx-xx0f-8xxx-xxxxxdc5d9e4",
"name": "Unassigned Business Unit",
"reservedType": "BUSINESS_UNIT",
"display": {},
"inScope": true,
"favorite": false,
"srcBusinessUnitId": 0
},
"scopedTags": [
{
"tagId": 35378862,
"id": "7xxx3494-xxx7-4xx2-89xx-xxxxa6d140a6",
"name": "ADMIN TAG",
"display": {},
"inScope": true,
"favorite": false
},
{
"tagId": 30509060,
"id": "2xxx3b6c-018c-4xxx-xxx8-xxxxb6ccecfc",
"name": "Default Dashboard Access Tag",
"reservedType": "DEFAULT_DASHBOARD_ACCESS_TAG",
"display": {},
"inScope": true,
"favorite": false
}
],
"isAdminUser": false,
"allowDeletionOfAdminUser": false,
"extendedPermissions": {
"add_asset": false,
"option_profile": false,
"purge_host": false,
"modify_ntauth": false,
"manage_vs": false,
"manage_offs": false,
"fo_can_manage_user": false,
"edit_external_id": false,
"manage_vm": true,
"modify_remedy_policy": false,
"manage_webapp": false,
"add_vhost": false,
"create_webapps": false,
"manage_compliance": true,
"modify_compliance_policy": false,
"approve_exceptions": false,
"create_user_defined_control": false,
"modify_all_user_defined_control": false,
"allow_delete_administrator_user": false
}
}
]