Get a list of user roles - HxGN SDx - Update 63 - Administration & Configuration - Hexagon

HxGN SDx API Services Configuration

Language
English
Product
HxGN SDx
Search by Category
Administration & Configuration
SmartPlant Foundation / SDx Version
10

You can return all the user’s roles in the system using the following example GET:

. . /api/v1/User/Roles

This GET returns:

{"@odata.context": " . . /api/v1/$metadata#User/Roles","value":

[

{

"RoleUID": "RL_DWAdministrator",

"DisplayName": "DWAdministrator",

"Selected": false

},

{

"RoleUID": "RL_InstrumentationViewer",

"DisplayName": "InstrumentationViewer",

"Selected": false

},

The results displayed do not depend on whether the roles are in use or not.