Actions69
- Access Group Actions
- Active Issue Actions
- Appliance Task Actions
- Custom Property Actions
- Customer Actions
- Device Actions
- Device Filter Actions
- Maintenance Window Actions
- Organization Unit Actions
- Report Actions
- Scheduled Task Actions
- Server Info Actions
- Service Organization Actions
- Site Actions
- User Actions
User → Get Role
AI-generatedSummary
Retrieve details of a specific user role within a given organization unit in N-Central.
Inputs
- Org Unit ID (required) — The ID of the organization unit
- User Role ID (required) — The ID of the user role
Output shape
a single record containing the details of the specified user role
Returns a single user role object under the 'json' key. The data is fetched via a GET request to the endpoint
/api/org-units/{orgUnitId}/user-roles/{userRoleId}.
Examples
Example 1: Retrieve user role details
Specify 'Org Unit ID' and 'User Role ID' to fetch the matching role info for use in workflow logic.