GET /user

Gets the permissions of a specific user.

Resource Name: /settings/permissions/user

Permissions Required:
  • administrator
Request URL Parameters:

Parameter

Type

Description

nameMandatory

String

User name.

Return:

Parameter

Type

Description

name

String

User name.

fullName

String

User full name.

privileged

Boolean

Whether user is priviileged.

authorizedViewsAndActions

Array of NameAllowedInherited (see NameAllowedInherited )

View and action permissons.

authorizedApplications

Array of authorizedApplications (see authorizedApplications )

Permissions on applications.

roles

Arrary of String

Associated role names according to last login.

inheritedAuthorizedApplications

Array of authorizedApplications (see authorizedApplications )

Permissions on applications, inherited from associated roles.

Return Example:

{
  "name": "Joe",
  "authorizedViewsAndActions": [
    {
      "name": "updateObjectFromDevice",
      "allowed": false,
      "inherited": false
    },
    {
      "name": "createNewApplications",
      "allowed": true,
      "inherited": false
    }
...
  ],
  "authorizedApplications": [
    {
      "applicationID": 1,
      "name": "DNS",
      "permission": "view"
    }
  ],
  "fullName": "Joe Smith",
  "roles": [
    "DNS-role"
  ],
  "inheritedAuthorizedApplications": [
    {
      "applicationID": 1,
      "name": "DNS",
      "permission": "view"
    },
    {
      "applicationID": 2,
      "name": "Backup",
      "permission": "edit"
    }
  ],
  "privileged": false
}

 

â See also: