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

IT Automation Activities

Last updated Apr 21, 2026

Get User Roles

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

Overview

DescriptionAPI MethodAPI Path
Get user rolesGET/users/{id}/roles

Input

ParameterDescriptionData Type
User ID or UPNThe User Principal Name (UPN) or the Object Id of the userString
WhereThe CEQL search expression, or the where clause, without the WHERE keyword. For example, to search for objects last modified on or after Oct 22, 2019, the search expression will be where=lastModifiedDate>='2019-10-22T00:00:00.000Z' String

Output

ParameterDescriptionData Type
Role template identifierUnique identifier for the role template.String
Role descriptionA brief description of the role.String
Role identifierUnique identifier for the role.String
Role display nameThe name displayed for the role.String
  • Overview
  • Input
  • Output

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated