Returns a list of roles assigned to the specified user profile

Returns a list of roles that have been assigned to the specified user profile.

Method

/API2/access/getAllRolesByProfileId

  • API Section: /API2/access
  • API Version: 2.0
  • From Release: 2020.0
  • Usage: REST API only via POST actions.
  • Usage by:
    • Enterprise Admin

Method Signature

Input Parameters

Name

profileId

Type

string

Description

The system profile's ID

Output Response

Successful Result Code

200

Response List Type

Description of Response Type

Returns a list of roles assigned to the specified profile. Note that the response is returned as a list of items of this object type.

Examples