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:
Curl request syntax:
curl -u [admin]:[password] http://[localhost]:8091/settings/readOnlyAdminName
Curl request example:
curl -u Administrator:password \ http://10.5.2.117:8091/settings/readOnlyAdminName
If successful, a response is returned with the read-only user name as payload:
If there is no read-only user, the following error is returned:
Requested resource not found.