Retrieve the Read-Only Administrator’s Name

Only the Full Administrator can retrieve the Read-only Administrator’s name using the GET /settings/readOnlyAdminName HTTP method and URI.

HTTP Method and URI

To retrieve the read-only username, administrative or read-only permissions are required:

GET /settings/readOnlyAdminName

Syntax

Curl request syntax:

curl -u [admin]:[password]
  http://[localhost]:8091/settings/readOnlyAdminName

Example

Curl request example:

curl -u Administrator:password \
  http://10.5.2.117:8091/settings/readOnlyAdminName

Response

If successful, a response is returned with the read-only user name as payload:

"a_user"

If there is no read-only user, the following error is returned:

Requested resource not found.