Get Data Source Database Roles

{ getRolesByDataBase }

Returns all roles IDs and its settings for a database.

Method

/API2/dataSources/getRolesByDataBase
  • API Section: /API2/dataSources
  • API Version: 2.0
  • From Release: 2018.5
  • Can be used by Enterprise Admin users only
  • REST API only via POST actions.
  • Input Parameters

    Name

    dataBaseId

    Type

    string

    Description

    The database's system ID

    Output Response

    Successful Result Code

    200

    Response List Type

    Description of Response Type

    Object with role and role access types.. Note that the response is returned as a list of items of this object type.