UiPath Documentation
activities
latest
false
UiPath logo, featuring letters U and I in white

IT Automation Activities

Last updated Apr 21, 2026

List Users in Role

Note: This activity is available in API workflows and agentic processes.

Overview

DescriptionAPI MethodAPI Path
List users that are member of a directory roleGET/directoryRoles/{id}/users

Input

ParameterDescriptionData Type
Role IDThe object Id of the directory role.String

Output

ParameterDescriptionData Type
User business phonesA list of business phones.String
User mailThe user mail.String
User mobile phoneThe user phone.String
User office locationThe user office location.String
User preferred languageThe user preferred language.String
User display nameThe full name of the user as displayed in the directory.String
User surnameThe last name or family name of the user.String
User given nameThe first name or personal name of the user.String
User job titleThe professional title or position of the user.String
User unique identifierA unique identifier for the user.String
User principal nameThe principal name used to identify the user.String
  • Overview
  • Input
  • Output

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated