Extracting User List from Orchestrator

Hi @ZacCoop, @vuliana,

You can use the Orchestrator API to obtain those data with this endpoint:

**OrchestratorURL**/odata/Users?$filter=Type eq 'User'

  • If the users are on the same Tenant/Orchestrator as the bot, you can use Orchestrator HTTP request activity. Endpoint needs to be relative (omitting the OrchestratorURL)

EDIT : Note that this first option would require your bots to have privilege to see users (on the Robot role) as the request is done in the context of the Robot user.

  • If you want to obtain users from another Tenant/Orchestrator, you will need to use the HTTP request activity (from UiPath.Web package) - Requires authentication using Bearer token (many example of it in the Forum)

You have many example on the Forum for the second one.

Let me know if you have any struggle making it work.