Retrieve user data

The users request retrieves AFA users data.

Resource Name: /afa/api/v1/users

Request Method: GET

Request URL Parameters:

none

Response:

Code

Description

200

OK and returns data in JSON format.

401

Unauthorized domain

403

Non-admin user

Request example

curl -k -H 'cookie: PHPSESSID=psdoh0n3mi90r5ctq2cvb49q65' https://<ASMS_IP/name>/afa/api/v1/users/

Note: Use the "-k" argument for self-signed certificates.

PHPSESSID=<session ID>

Response example

{ 
  "UserName":”<username>”,
  "FullName":”<full username>”,
  "Email":”email”,
  "Roles":[<list of roles of the user>],
  "AuthenticationType":”< authentication type : local, ldap, etc >”,
  "LandingPage":”<landing page name>”,
  "Administrator":”<is administrator : yes or no>”,
  "FireflowAdmin":”<is administrator : yes or no>”,
  "EnableAnalysisFromFile":”<permitted to run analysis from file :  yes or no>”,
  "EnableGlobalCustomization":”<permitted for global configuration : yes or no>”,
  "AuthorizedDevices":[
      {
       "ID":”<device name>”,
       “DisplayName”:”<display name>”,
       "Profile":”<authorization profile : standard, read only, etc>”,
       "Notification":”<notification : yes, no>”
                                                  }
                                           ],
     “Domain”:”0”
}