[Deprecated]: Get global roles users

get

/ec-auth-svc/rest/v2.0/globalroles/users

Deprecated: This endpoint is superseded by the v3 /globalroles/users endpoint (see v3 documentation). The latest (v3) version changes the response to use DisplayGlobalRoleUserListDtoV2 structure and introduces support for includeRemoved users and more flexible query parameters. Fetches a list of all global role-user assignments, filtered by optional search parameters.

Request

Query Parameters
Header Parameters

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

Success
Body ()
Root Schema : DisplayGlobalRoleUserListDto
Type: object
List of users for a global role, including pagination information.
Show Source
Example:
{
    "usersFound":2,
    "firstUserReturned":1,
    "usersReturned":2,
    "globalusers":[
        {
            "id":"A1234567890BCDEF1234567890ABCDEF",
            "firstName":"John",
            "lastName":"Doe",
            "userName":"johndoe",
            "lastAccess":"2023-10-01T12:00:00.000Z",
            "globalroles":[
                "ADMIN",
                "REVIEWER"
            ]
        },
        {
            "id":"B1234567890BCDEF1234567890ABCDEF",
            "firstName":"Jane",
            "lastName":"Smith",
            "userName":"janesmith",
            "lastAccess":"2023-09-15T08:30:00.000Z",
            "globalroles":[
                "USER"
            ]
        }
    ]
}
Nested Schema : globalusers
Type: object
User associated with a global role, including profile and access information.
Show Source
Example:
{
    "id":"A1234567890BCDEF1234567890ABCDEF",
    "firstName":"John",
    "lastName":"Doe",
    "userName":"johndoe",
    "lastAccess":"2023-10-01T12:00:00.000Z",
    "globalroles":[
        "ADMIN",
        "REVIEWER"
    ]
}
Nested Schema : globalroles
Type: array
List of global roles assigned to the user.
Show Source
  • List of global roles assigned to the user.
    Example: ["ADMIN","REVIEWER"]
Example:
[
    "ADMIN",
    "REVIEWER"
]
Examples

400 Response

Bad request
Body ()
Root Schema : AuthResponse
Type: object
Generic API response wrapper containing result, error data, response version and status.
Show Source
Nested Schema : ErrorResponseData
Type: object
Structure representing an error response from the reporting service. Contains an error code, human-readable message, and details.
Show Source
  • Detailed error context or debugging information such as validation error, stack trace, or field/parameter cause.
    Example: User role is missing required permission REPORTING_VIEW. Field: userId
  • Application or business-specific error code representing the error type.
    Example: REPT_401
  • Human-readable error message describing the failure or issue.
    Example: Unauthorized: User does not have access to the requested resource
Nested Schema : result
Type: object
Result data of the API response; actual type depends on the API
Example:
oracle.doceng.json.BetterJsonNull@3565a0f5
Back to Top