getCurrentAdminProfile

get

/ccadmin/v1/adminProfiles/current

Get Current Admin Profile. Get the current profile information.

Request

Supported Media Types
Query Parameters
  • Expand query param: comma separated values that can be used to expand profile's roles and access rights information. Possible values for this query parameter are 'roles' and 'accessRights'
    Allowed Values: [ "roles", "accessRights" ]
  • If we want allowed actions for user, then pass true for this variable
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : getCurrentAdminProfile_response
Type: object
Show Source
Nested Schema : accessRights
Type: array
Access rights of the user
Show Source
Nested Schema : roles
Type: array
Array of roles assigned to this profile.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : accessRights
Type: array
Access rights of the role
Show Source
Nested Schema : category
Type: array
Category of the role
Show Source
Nested Schema : securityCriteria
Type: array
Security criteria of the role
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Example Response (application/json)
{
    "lastName":"Admin",
    "tourComplete":true,
    "roles":[
        {
            "repositoryId":"adminRole"
        }
    ],
    "active":true,
    "firstName":"Amber",
    "external":false,
    "createdBy":"admin",
    "repositoryId":"iuser260015",
    "registrationDate":"2014-09-24T12:00:00.000Z",
    "id":"iuser260015",
    "rolesLastModified":"2021-02-22T12:00:00.000Z",
    "actions":[
        "worksetsAccess",
        "publishingAccess",
        "settingsTab",
        "mediaTab",
        "reportsTab"
    ],
    "email":"admin@example.com"
}

Default Response

The error response
Body ()
Root Schema : errorModel
Type: object
Show Source
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top