Skip to main content

Community

Other: API for retrieving user roles along with usernames in HVR

Answered

Please sign in to leave a comment.

Comments

1 comment

  • Official comment
    Mark Van de Wiel User

    Ishmael,

    There is /api/<version>/users (under User Config Interface; e.g. https://fivetran.com/docs/hvr6/rest-api/rest-api-reference/610/61036). Is that what you are looking for?

    Alternatively, you can also use command line utility hvrhubconfig (https://fivetran.com/docs/hvr6/command-line-interface/command-reference/hvrhubconfig) with argument Access_List or All_User_Access (depending on your version) to get the list of users with the access in a JSON format. You can then parse this for current access.

    Note command line utilities can be run on the hub server directly, as the OS user that owns the HVR installation, or you can use -R over REST (but of course from wherever you make the call you must have an HVR installation to have the utility).

    Please let me know if this works for you.

    Thanks,
    Mark.