User Web Services
Universal Controller supports the following RESTful-based web services for User operations, which are listed alphabetically on this page.
- Create a User
- Delete a User
- List Users
- Modify a User
- Read a User
- Read a User's Group Membership
- Add a User to a Group
- Remove a User from a Group
- List User Preferences
- Read a User Preference
- Update a User Preference
- Create Personal Access Token
- List Personal Access Tokens
- Revoke Personal Access Token
Formatting specifications for each web service, including details about parameter requirements, are provided.
Note
If you want to change only the User's password, rather than modifying the whole User record, you can use the Password API.
Permissions
The following table identifies the web service operations that a user can perform
Operation | User without any role | User with ops_service_role | User with ops_user_admin or ops_admin role |
|---|---|---|---|
Read | Read its own record (details). Read its own Role, Permissions, and Member of Groups (group membership), | Read any user record. | Create/update/read/delete any fields or any related data. |
Update | Update a subset of fields of its own record. Cannot update any related data. | Update a subset of fields of its own record. Cannot update any related data. | |
Create | No permission to create a user. | No permission to create a user. | |
Delete | No permission to delete a user. | No permission to delete a user. |
Create a User
Description | |
|---|---|
URI | http://host_name/uc/resources/user |
HTTP Method | |
Description | Creates a new User. |
Example URI | |
Consumes Content-Type | application/xml, application/json |
Produces Content-Type | n/a |
Example | See Create, Modify, and Read a User: XML and JSON Examples: XML and JSON Examples, below. |
User Properties | See User Properties, below. |
User Permission Properties | See User Permission Properties, below. |
User Role Properties | See User Role Properties, below. |
Example Response |
|
Create, Modify, and Read a User: XML and JSON Examples
The excludeRelated and retainSysIds properties are specified as attributes in the <user> element of XML web services.
- JSON
- XML
JSON
{
"active": true,
"browserAccess": "-- System Default --",
"businessPhone": null,
"commandLineAccess": "-- System Default --",
"department": null,
"email": null,
"firstName": "stone b",
"impersonate": [],
"lastName": "branch",
"lockedOut": false,
"loginMethod": "Standard",
"manager": null,
"middleName": null,
"mobilePhone": null,
"passwordNeedsReset": false,
"permissions": [
{
"allGroups": true,
"commands": null,
"defaultGroup": true,
"nameWildcard": "*",
"notGroups": false,
"opCreate": false,
"opDelete": true,
"opExecute": true,
"opRead": true,
"opUpdate": true,
"opswiseGroups": [],
"permissionType": "Agent",
"sysId": "83c2d3b15d0c417f8a8890be17f1f4cd"
}
],
"retainSysIds": true,
"sysId": "4e820e27b548497bb8005bb884f2816a",
"timeZone": "System",
"title": "IT Technician",
"tokens": [],
"userName": "stonebranch-user-02",
"userRoles": [
{
"role": {
"description": "Can create reports that belong to a group to which I am a member.",
"value": "ops_report_group"
},
"sysId": "018b60fc6bb54ca68571f789e5ee1ad5"
},
{
"role": {
"description": "Can create global reports.",
"value": "ops_report_global"
},
"sysId": "b21ecafbcd3f4424bfeca3d9846f2c34"
},
{
"role": {
"description": "The report publishing role.",
"value": "ops_report_publish"
},
"sysId": "cb84572b5bf44ddfb1e9e0e9b9d1b65a"
}
],
"webServiceAccess": "-- System Default --"
}
XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<user retainSysIds="true">
<active>true</active>
<browserAccess>-- System Default --</browserAccess>
<businessPhone />
<commandLineAccess>-- System Default --</commandLineAccess>
<department />
<email />
<firstName>stone b</firstName>
<impersonate/>
<lastName>branch</lastName>
<lockedOut>false</lockedOut>
<loginMethod>Standard</loginMethod>
<manager />
<middleName />
<mobilePhone />
<passwordNeedsReset>false</passwordNeedsReset>
<permissions>
<permission>
<allGroups>true</allGroups>
<commands />
<defaultGroup>true</defaultGroup>
<nameWildcard>*</nameWildcard>
<notGroups>false</notGroups>
<opCreate>false</opCreate>
<opDelete>true</opDelete>
<opExecute>true</opExecute>
<opRead>true</opRead>
<opUpdate>true</opUpdate>
<opswiseGroups/>
<permissionType>Agent</permissionType>
<sysId>83c2d3b15d0c417f8a8890be17f1f4cd</sysId>
</permission>
</permissions>
<sysId>4e820e27b548497bb8005bb884f2816a</sysId>
<timeZone>System</timeZone>
<title>IT Technician</title>
<tokens/>
<userName>stonebranch-user-02</userName>
<userRoles>
<userRole>
<role description="Can create reports that belong to a group to which I am a member.">ops_report_group</role>
<sysId>018b60fc6bb54ca68571f789e5ee1ad5</sysId>
</userRole>
<userRole>
<role description="Can create global reports.">ops_report_global</role>
<sysId>b21ecafbcd3f4424bfeca3d9846f2c34</sysId>
</userRole>
<userRole>
<role description="The report publishing role.">ops_report_publish</role>
<sysId>cb84572b5bf44ddfb1e9e0e9b9d1b65a</sysId>
</userRole>
</userRoles>
<webServiceAccess>-- System Default --</webServiceAccess>
</user>
Delete a User
Description | |
|---|---|
URI | http://host_name/uc/resources/user |
HTTP Method | DELETE |
Description | Deletes a User. |
URI Parameters | See Delete a User URI Parameters, below. |
Example URI | |
Example Response |
|
Delete a User: URI Parameters
Parameter | Description | Specifications | Required | Mutually Exclusive With |
|---|---|---|---|---|
| ID used within the Controller to identify this user. | String; URI parameter. | Y (unless |
|
| Name used within the Controller to identify this user. | String; URI parameter. | Y (unless |
|
List Users
Description | |
|---|---|
URI | http://host_name/uc/resources/user/list |
HTTP Method | GET |
Description | Retrieves information on all Users. |
Example URI | http://localhost:8080/uc/resources/user/list http://localhost:9090/uc/resources/user/list?showTokens=true |
Authentication | HTTP Basic |
Produces Content-Type | application/xml, application/json |
Example | |
User Properties | See User Properties. |
User Permission Properties | |
User Role Properties | See User Role Properties. |
List Users: URI Parameters
Name | Description | Specifications | Required |
|---|---|---|---|
| Show personal access tokens. | Boolean
| N |
List Users: XML and JSON Examples
- JSON
- XML
JSON
[
{
"active": true,
"browserAccess": "-- System Default --",
"businessPhone": null,
"commandLineAccess": "-- System Default --",
"department": null,
"email": null,
"firstName": "stone b",
"impersonate": [],
"lastName": "branch",
"lockedOut": false,
"loginMethod": "Standard",
"manager": null,
"middleName": null,
"mobilePhone": null,
"passwordNeedsReset": false,
"permissions": [],
"sysId": "4e820e27b548497bb8005bb884f2816a",
"timeZone": "System",
"title": "IT Technician",
"tokens": [],
"userName": "stonebranch-user-02",
"userRoles": [
{
"role": {
"description": "Can create reports that belong to a group to which I am a member.",
"value": "ops_report_group"
},
"sysId": "018b60fc6bb54ca68571f789e5ee1ad5"
},
{
"role": {
"description": "Can create global reports.",
"value": "ops_report_global"
},
"sysId": "b21ecafbcd3f4424bfeca3d9846f2c34"
},
{
"role": {
"description": "The report publishing role.",
"value": "ops_report_publish"
},
"sysId": "cb84572b5bf44ddfb1e9e0e9b9d1b65a"
}
],
"webServiceAccess": "-- System Default --"
},
{
"active": true,
"browserAccess": "-- System Default --",
"businessPhone": null,
"commandLineAccess": "-- System Default --",
"department": null,
"email": null,
"firstName": "stone c",
"impersonate": [],
"lastName": "branch",
"lockedOut": false,
"loginMethod": "Standard",
"manager": null,
"middleName": null,
"mobilePhone": null,
"passwordNeedsReset": false,
"permissions": [],
"sysId": "c212afe3dd6b4cb98cc3cb432cf7be46",
"timeZone": "System",
"title": "IT Technician",
"tokens": [],
"userName": "stonebranch-user-03",
"userRoles": [],
"webServiceAccess": "-- System Default --"
},
]
XML
<users>
<user>
<active>true</active>
<browserAccess>-- System Default --</browserAccess>
<businessPhone />
<commandLineAccess>-- System Default --</commandLineAccess>
<department />
<email />
<firstName>stone b</firstName>
<impersonate/>
<lastName>branch</lastName>
<lockedOut>false</lockedOut>
<loginMethod>Standard</loginMethod>
<manager />
<middleName />
<mobilePhone />
<passwordNeedsReset>false</passwordNeedsReset>
<permissions/>
<sysId>4e820e27b548497bb8005bb884f2816a</sysId>
<timeZone>System</timeZone>
<title>IT Technician</title>
<tokens/>
<userName>stonebranch-user-02</userName>
<userRoles>
<userRole>
<role description="Can create reports that belong to a group to which I am a member.">ops_report_group</role>
<sysId>018b60fc6bb54ca68571f789e5ee1ad5</sysId>
</userRole>
<userRole>
<role description="Can create global reports.">ops_report_global</role>
<sysId>b21ecafbcd3f4424bfeca3d9846f2c34</sysId>
</userRole>
<userRole>
<role description="The report publishing role.">ops_report_publish</role>
<sysId>cb84572b5bf44ddfb1e9e0e9b9d1b65a</sysId>
</userRole>
</userRoles>
<webServiceAccess>-- System Default --</webServiceAccess>
</user>
<user>
<active>true</active>
<browserAccess>-- System Default --</browserAccess>
<businessPhone />
<commandLineAccess>-- System Default --</commandLineAccess>
<department />
<email />
<firstName>stone c</firstName>
<impersonate/>
<lastName>branch</lastName>
<lockedOut>false</lockedOut>
<loginMethod>Standard</loginMethod>
<manager />
<middleName />
<mobilePhone />
<passwordNeedsReset>false</passwordNeedsReset>
<permissions/>
<sysId>c212afe3dd6b4cb98cc3cb432cf7be46</sysId>
<timeZone>System</timeZone>
<title>IT Technician</title>
<tokens/>
<userName>stonebranch-user-03</userName>
<userRoles/>
<webServiceAccess>-- System Default --</webServiceAccess>
</user>
</users>
Modify a User
Description | |
|---|---|
URI | http://host_name/uc/resources/user |
HTTP Method | PUT |
Description | Modifies the User specified by the sysId in the request. To modify User properties without modifying related records, see the excludeRelated property. |
Example URI | |
Consumes Content-Type | application/xml, application/json |
Produces Content-Type | n/a |
Example | |
User Properties | See User Properties. |
User Permission Properties | |
User Role Properties | See User Role Properties. |
Example Response |
|
Read a User
Description | |
|---|---|
URI | http://host_name/uc/resources/user |
HTTP Method | GET |
Description | Retrieves information on a specific User. |
URI Parameters | See Read a User: URI Parameters, below. |
Example URI | |
Consumes Content-Type | n/a |
Produces Content-Type | application/xml, application/json |
User Properties | See User Properties. |
User Permission Properties | |
User Role Properties | See User Role Properties. |
Example Response |
|
Read a User: URI Parameters
Name | Description | Specifications | Required | Mutually Exclusive With |
|---|---|---|---|---|
| Unique ID for this User. | Y |
| |
| Name used within the Controller to identify this User. | Maximum 40 alphanumerics. | Y |
|
| Show personal access tokens. | Boolean
| N |
Read a User's Group Membership
Description | |
|---|---|
URI | http://host_name/uc/resources/user/groups |
HTTP Method | GET |
Description | Retrieves information on all User Groups for a particular User. |
URI Parameters | |
Example URI | http://localhost:8080/uc/resources/user/groups?userid={userid} http://localhost:8080/uc/resources/user/groups?username={username} |
Authentication | HTTP Basic |
Produces Content-Type | Application/JSON |
Consumes Content-Type | N/A |
Group Membership Properties | |
Example Response |
|
Read a User's Group Membership: URI Parameters
Property | Description | Specifications | Required | Mutually Exclusive With |
|---|---|---|---|---|
| Name used within the Controller to identify the User. | String; URI parameter | Y (unless |
|
| ID used within the Controller to identify User. | String; URI parameter | Y (unless |
|
Add a User to a Group
Description | |
|---|---|
URI | http://host_name/uc/resources/user/groups |
HTTP Method | POST |
Description | Adds the specified User to the specified User Group. |
URI Parameters | See Add a User to a Group: URI Parameters, below |
Example URI | http://localhost:8080/uc/resources/user/groups?userid={userid}&groupid={groupid} http://localhost:8080/uc/resources/user/groups?username={username}&groupname={groupname} |
Authentication | HTTP Basic |
Produces Content-Type | Application/JSON |
Consumes Content-Type | N/A |
Example Response |
|
Add a User to a Group: URI Parameters
Property | Description | Specifications | Required | Mutually Exclusive With |
|---|---|---|---|---|
| Name used within the Controller to identify the User. | String; URI parameter | Y (unless |
|
| ID used within the Controller to identify the User. | String; URI parameter | Y (unless |
|
| Name used within the Controller to identify the User Group. | String; URI parameter | Y (unless |
|
| ID used within the Controller to identify the User Group. | String; URI parameter | Y (unless |
|
Remove a User from a Group
Description | |
|---|---|
URI | http://host_name/uc/resources/user/groups |
HTTP Method | DELETE |
Description | Removes the specified User from a specified User Group. info The User must be a direct member of the Group. You cannot remove a User from an inherited parent Group. |
URI Parameters | See Remove a User from a Group: URI Parameters, below. |
Example URI | http://localhost:8080/uc/resources/user/groups?userid={userid}&groupid={groupid} http://localhost:8080/uc/resources/user/groups?username={username}&groupname={groupname} |
Authentication | HTTP Basic |
Produces Content-Type | Application/JSON |
Consumes Content-Type | N/A |
Example Response |
|
Remove a User from a Group: URI Parameters
Property | Description | Specifications | Required | Mutually Exclusive With |
|---|---|---|---|---|
| Name used within the Controller to identify the User. | String; URI parameter | Y (unless |
|
| ID used within the Controller to identify the User. | String; URI parameter | Y (unless |
|
| Name used within the Controller to identify the User Group. | String; URI parameter | Y (unless |
|
| ID used within the Controller to identify the User Group. | String; URI parameter | Y (unless |
|
List User Preferences
URI | http://host_name:port/uc/resources/user/preference/list |
HTTP Method | GET |
Description | Retrieves information on all user preferences for a particular user. |
Example URI | http://localhost:8080/uc/resources/user/preference/list?username=ops.admin |
Authentication | HTTP Basic |
Produces Content-Type | Application/XML, Application/JSON |
Consumes Content-Type | N/A |
Example Responses |
|
List User Preferences: URI Parameters
Property | Description | Required | Mutual Exclusive With |
|---|---|---|---|
| Unique ID for this User. | N |
|
| Name used within the Controller to identify this User. | N |
|
List User Preferences: XML and JSON Examples
- JSON
- XML
JSON
[
{
"name": {
"label": "Activity Monitor Automatically",
"value": "uc.activity.monitor_automatically"
},
"value": "No"
},
{
"name": {
"label": "Activity Refresh Rate",
"value": "uc.activity.refresh_rate"
},
"value": "10 seconds"
},
{
"name": {
"label": "Activity Results Per Page",
"value": "uc.activity.results_per_page"
},
"value": "25 per page"
},
{
"name": {
"label": "Activity Time Constraint",
"value": "uc.activity.time_window"
},
"value": "Last week"
},
{
"name": {
"label": "Agent Task Instances Tab Time Constraint",
"value": "uc.agent.task_instances.tab.time_window"
},
"value": "Last 48 hours"
},
{
"name": {
"label": "Audit Time Constraint",
"value": "uc.audit.time_window"
},
"value": "Last 48 hours"
},
{
"name": {
"label": "Boolean Column Display Format",
"value": "uc.grid.column.boolean.format"
},
"value": "Yes/No"
},
{
"name": {
"label": "Console Error Fade Out Delay",
"value": "uc.console.error.fadeout_delay"
},
"value": "10"
},
{
"name": {
"label": "Console Info Fade Out Delay",
"value": "uc.console.info.fadeout_delay"
},
"value": ""
},
{
"name": {
"label": "Console Location",
"value": "uc.console.location"
},
"value": "Bottom"
},
{
"name": {
"label": "Console Open For Info",
"value": "uc.console.info.open"
},
"value": "Yes"
},
{
"name": {
"label": "Dashboard Force Refresh On Focus",
"value": "uc.dashboard.refresh_on_focus"
},
"value": "Yes"
},
{
"name": {
"label": "Dashboard Force Refresh On Focus Threshold",
"value": "uc.dashboard.refresh_on_focus.threshold"
},
"value": "25 seconds"
},
{
"name": {
"label": "Expand Lists Automatically",
"value": "uc.lists.expand_automatically"
},
"value": "-- System Default --"
},
{
"name": {
"label": "Go To Operator",
"value": "uc.grid.go_to.operator"
},
"value": "contains"
},
{
"name": {
"label": "History Time Constraint",
"value": "uc.history.time_window"
},
"value": "Last 48 hours"
},
{
"name": {
"label": "Navigation Auto Collapse",
"value": "uc.navigation.auto_collapse"
},
"value": "-- System Default --"
},
{
"name": {
"label": "Node Time Display",
"value": "uc.node_time.display"
},
"value": "-- System Default --"
},
{
"name": {
"label": "Node Time Display Background Color",
"value": "uc.node_time.display.background_color"
},
"value": "-- System Default --"
},
{
"name": {
"label": "Node Time Display Color",
"value": "uc.node_time.display.color"
},
"value": "-- System Default --"
},
{
"name": {
"label": "Node Time Display Time Zone",
"value": "uc.node_time.display.tz"
},
"value": "-- System Default --"
},
{
"name": {
"label": "Pin Tabs Automatically",
"value": "uc.tabs.pin_automatically"
},
"value": "No"
},
{
"name": {
"label": "Record New In Tab",
"value": "uc.record.new_in_tab"
},
"value": "-- System Default --"
},
{
"name": {
"label": "Record Open In Tab",
"value": "uc.record.open_in_tab"
},
"value": "-- System Default --"
},
{
"name": {
"label": "Reference New In Tab",
"value": "uc.reference.new_in_tab"
},
"value": "-- System Default --"
},
{
"name": {
"label": "Reference Open In Tab",
"value": "uc.reference.open_in_tab"
},
"value": "-- System Default --"
},
{
"name": {
"label": "Reference Picker Display Columns",
"value": "uc.reference.picker.display_columns"
},
"value": "2"
},
{
"name": {
"label": "Services Recently Visited Limit",
"value": "uc.services.recently_visited.limit"
},
"value": "10"
},
{
"name": {
"label": "Services Show Animations",
"value": "uc.services.show_animations"
},
"value": "Yes"
},
{
"name": {
"label": "Show Metadata",
"value": "uc.form.show_metadata"
},
"value": "-- System Default --"
},
{
"name": {
"label": "Show Variables Fetch Global Automatically",
"value": "uc.show_variables.fetch_global"
},
"value": "-- System Default --"
},
{
"name": {
"label": "Target Task Instances Tab Time Constraint",
"value": "uc.target_task_instances.tab.time_window"
},
"value": "Last 48 hours"
},
{
"name": {
"label": "Task Instances Tab Time Constraint",
"value": "uc.task_instances.tab.time_window"
},
"value": "Last 48 hours"
},
{
"name": {
"label": "Task Instances Time Constraint",
"value": "uc.task_instances.time_window"
},
"value": "Last 48 hours"
},
{
"name": {
"label": "Trigger Task Instances Tab Time Constraint",
"value": "uc.trigger_task_instances.tab.time_window"
},
"value": "Last 48 hours"
},
{
"name": {
"label": "Use Dashboard Visibility Icons",
"value": "uc.dashboard.use_visibility_icons"
},
"value": "-- System Default --"
},
{
"name": {
"label": "Use Default Dashboard For Home",
"value": "uc.home.use_default_dashboard"
},
"value": "No"
},
{
"name": {
"label": "User Interface Density",
"value": "uc.user_interface.density"
},
"value": "-- System Default --"
},
{
"name": {
"label": "User Interface Theme",
"value": "uc.user_interface.theme"
},
"value": "-- System Default --"
},
{
"name": {
"label": "View/Edit JCL Credentials",
"value": "uc.task.zos.view_edit_jcl.credentials"
},
"value": ""
}
]
XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<preferences>
<preference>
<name label="Activity Monitor Automatically">uc.activity.monitor_automatically</name>
<value>No</value>
</preference>
<preference>
<name label="Activity Refresh Rate">uc.activity.refresh_rate</name>
<value>10 seconds</value>
</preference>
<preference>
<name label="Activity Results Per Page">uc.activity.results_per_page</name>
<value>25 per page</value>
</preference>
<preference>
<name label="Activity Time Constraint">uc.activity.time_window</name>
<value>Last week</value>
</preference>
<preference>
<name label="Agent Task Instances Tab Time Constraint">uc.agent.task_instances.tab.time_window</name>
<value>Last 48 hours</value>
</preference>
<preference>
<name label="Audit Time Constraint">uc.audit.time_window</name>
<value>Last 48 hours</value>
</preference>
<preference>
<name label="Boolean Column Display Format">uc.grid.column.boolean.format</name>
<value>Yes/No</value>
</preference>
<preference>
<name label="Console Error Fade Out Delay">uc.console.error.fadeout_delay</name>
<value>10</value>
</preference>
<preference>
<name label="Console Info Fade Out Delay">uc.console.info.fadeout_delay</name>
<value></value>
</preference>
<preference>
<name label="Console Location">uc.console.location</name>
<value>Bottom</value>
</preference>
<preference>
<name label="Console Open For Info">uc.console.info.open</name>
<value>Yes</value>
</preference>
<preference>
<name label="Dashboard Force Refresh On Focus">uc.dashboard.refresh_on_focus</name>
<value>Yes</value>
</preference>
<preference>
<name label="Dashboard Force Refresh On Focus Threshold">uc.dashboard.refresh_on_focus.threshold</name>
<value>25 seconds</value>
</preference>
<preference>
<name label="Expand Lists Automatically">uc.lists.expand_automatically</name>
<value>-- System Default --</value>
</preference>
<preference>
<name label="Go To Operator">uc.grid.go_to.operator</name>
<value>contains</value>
</preference>
<preference>
<name label="History Time Constraint">uc.history.time_window</name>
<value>Last 48 hours</value>
</preference>
<preference>
<name label="Navigation Auto Collapse">uc.navigation.auto_collapse</name>
<value>-- System Default --</value>
</preference>
<preference>
<name label="Node Time Display">uc.node_time.display</name>
<value>-- System Default --</value>
</preference>
<preference>
<name label="Node Time Display Background Color">uc.node_time.display.background_color</name>
<value>-- System Default --</value>
</preference>
<preference>
<name label="Node Time Display Color">uc.node_time.display.color</name>
<value>-- System Default --</value>
</preference>
<preference>
<name label="Node Time Display Time Zone">uc.node_time.display.tz</name>
<value>-- System Default --</value>
</preference>
<preference>
<name label="Pin Tabs Automatically">uc.tabs.pin_automatically</name>
<value>No</value>
</preference>
<preference>
<name label="Record New In Tab">uc.record.new_in_tab</name>
<value>-- System Default --</value>
</preference>
<preference>
<name label="Record Open In Tab">uc.record.open_in_tab</name>
<value>-- System Default --</value>
</preference>
<preference>
<name label="Reference New In Tab">uc.reference.new_in_tab</name>
<value>-- System Default --</value>
</preference>
<preference>
<name label="Reference Open In Tab">uc.reference.open_in_tab</name>
<value>-- System Default --</value>
</preference>
<preference>
<name label="Reference Picker Display Columns">uc.reference.picker.display_columns</name>
<value>2</value>
</preference>
<preference>
<name label="Services Recently Visited Limit">uc.services.recently_visited.limit</name>
<value>10</value>
</preference>
<preference>
<name label="Services Show Animations">uc.services.show_animations</name>
<value>Yes</value>
</preference>
<preference>
<name label="Show Metadata">uc.form.show_metadata</name>
<value>-- System Default --</value>
</preference>
<preference>
<name label="Show Variables Fetch Global Automatically">uc.show_variables.fetch_global</name>
<value>-- System Default --</value>
</preference>
<preference>
<name label="Target Task Instances Tab Time Constraint">uc.target_task_instances.tab.time_window</name>
<value>Last 48 hours</value>
</preference>
<preference>
<name label="Task Instances Tab Time Constraint">uc.task_instances.tab.time_window</name>
<value>Last 48 hours</value>
</preference>
<preference>
<name label="Task Instances Time Constraint">uc.task_instances.time_window</name>
<value>Last 48 hours</value>
</preference>
<preference>
<name label="Trigger Task Instances Tab Time Constraint">uc.trigger_task_instances.tab.time_window</name>
<value>Last 48 hours</value>
</preference>
<preference>
<name label="Use Dashboard Visibility Icons">uc.dashboard.use_visibility_icons</name>
<value>-- System Default --</value>
</preference>
<preference>
<name label="Use Default Dashboard For Home">uc.home.use_default_dashboard</name>
<value>No</value>
</preference>
<preference>
<name label="User Interface Density">uc.user_interface.density</name>
<value>-- System Default --</value>
</preference>
<preference>
<name label="User Interface Theme">uc.user_interface.theme</name>
<value>-- System Default --</value>
</preference>
<preference>
<name label="View/Edit JCL Credentials">uc.task.zos.view_edit_jcl.credentials</name>
<value></value>
</preference>
</preferences>
Read a User Preference
URI | http://host_name:port/uc/resources/user/preference |
HTTP Method | GET |
Description | Retrieves information on a specific user preference for a particular user. |
Example URI | |
Authentication | HTTP Basic |
Produces Content-Type | Application/XML, Application/JSON |
Consumes Content-Type | N/A |
Example Responses |
|
Read a User Preference: URI Parameters
Property | Description | Specifications | Required | Mutual Exclusive With |
|---|---|---|---|---|
| User preference name. | Y | ||
| Unique ID for this User. | N |
| |
| Name used within the Controller to identify this User. | N |
|
Read a User Preference: XML and JSON Examples
- JSON
- XML
JSON
{
"name": {
"label": "Activity Monitor Automatically",
"value": "uc.activity.monitor_automatically"
},
"value": "No"
}
XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<preference>
<name label="Activity Monitor Automatically">uc.activity.monitor_automatically</name>
<value>No</value>
</preference>
Update a User Preference
URI | http://host_name:port/uc/resources/user/preference |
HTTP Method | PUT |
Description | Modify a user preference for a particular user. |
Example URI | |
Authentication | HTTP Basic |
Example Responses |
|
Update a User Preference: URI Parameters
Property | Description | Specifications | Required | Mutual Exclusive With |
|---|---|---|---|---|
| User preference name. | Y | ||
| User preference value. | Y | ||
| Unique ID for this User. | N |
| |
| Name used within the Controller to identify this User. | N |
|
Properties
User Properties
Property | UI Field Name | Description | Specifications | Required |
|---|---|---|---|---|
| Active | Specification for whether or not the user is active. An active user can log in to the Controller. An inactive user cannot log in to the Controller, and the user will not appear in user lists. | Boolean. Valid Values: true/false. Default is false. | N |
| Web Browser Access | Specification for whether or not the user can log in to the user interface. | Valid Values:
Default is - System Default - (0). | N |
| Business Phone | Business phone number of this user. | N | |
| Command Line Access | Specification for whether or not the user can log in to the Universal Controller Command Line Interface (CLI). | Valid values:
Default is - System Default - (0). | N |
| Department | Business department of this user. | N | |
| Email address of this user. | N | ||
| n/a | For the Modify User web service; specification for whether or not to exclude related records (User Permissions, User Roles) from the update, even if they are provided in the request. info In XML, | Valid values: true/false (default is false). | N |
| First Name | First Name of this user. | N | |
| Allowed Impersonation Users | Specifies the users that can be impersonated by this user using the X-Impersonate-User HTTP header on Web Service requests. User impersonation requires the ops_user_impersonate role. Users with the ops_admin role can impersonate any user and do not need to specify Allowed Impersonation Users. Format: XML JSON | N | |
| Last Name | Last Name of this user. | N | |
| Locked out | Specification for whether or not the user is locked out of the Controller. | Boolean. Valid Values: true/false. Default is false. | N |
| Login Methods | Login method(s) that the user can authenticate with. | Valid Values:
| N |
| Manager | Business manager of this user. | Manager user ID | N |
| Middle Name | Middle Name of this user. | N | |
| Mobile Phone | Mobile phone number of this user. | N | |
| Password Requires Reset | Specification for whether or not the user will be prompted to reset the password at next login. | Boolean. Valid Values: true/false. Default is false. | N |
| n/a | Specification for whether or not the Create a User web service will persist the sysId property.
info In XML, | Valid values: true/false (default is true). | N |
| n/a | System ID field in the database for this record. | Persisted only if retainSysIds is set to true. | N |
| Time Zone | Time zone of this user. | When this user logs in, all scheduling times will be shown in the user's time zone, unless the trigger specifies a different time zone. | N |
| Title | Business title of this user. | N | |
| Personal Access Tokens | List of personal access tokens. If Format: XML JSON | N | |
| n/a | Specifies whether the tokens will be displayed in the response. | Read only; Boolean. Valid Values: true/false. Default is false. | N |
| User ID | Log in ID for this user. | Y | |
| Password | Password of this user. If Alternatively, the User's password can be changed with the Password API. info When creating a user, a password is not required if and only if the In this case, the user will be generated with a secure random password. | Used only by the Create a User and Modify a User web services. | Y |
| Web Service Access | Specification for whether or not the user can log in to the Universal Controller RESTful Web Services API. | Valid values:
Default is - System Default - (0). | N |
Group Membership Properties
Property | UI Field Name | Description | Specifications |
|---|---|---|---|
| N/A | Name used within the Controller to identify the Group. | String |
| N/A | ID used within the Controller to identify the Group. | String |
| N/A | Name used within the Controller to identify the Parent Group. | String |
| N/A | ID used within the Controller to identify the Parent Group. | String |
| N/A | Specification for whether or not the entry represents an inherited parent group. | Boolean. Valid Values: true/false. |
User Permission Properties
Property | UI Field Name | Description | Specifications | Required |
|---|---|---|---|---|
| Member of Any Business Service or Unassigned Business Service Criteria
| Specification for whether or not this permission applies both to records that belong to any Business Service and to records that do not belong to any Business Service. info If | Boolean. Valid Values: true/false. Default is false. | N |
| Commands | Commands that are associated with each permission. | Valid values: see Command Permissions, below. | N |
| Unassigned to Business Service Business Service Criteria
| Specification for whether or not this permission applies to records that do not belong to any Business Service. | Boolean. Valid Values: true/false. Default is false. | N |
| Name | Specification to apply this permission to records whose name matches the string specified here. | Wildcards (*'s) can be used. | Y |
| Not Member of Business Services Business Service Criteria
| Specification for whether or not this permission applies to records that are a member of | Boolean. Valid Values: true/false. Default is false. | N |
| Create | Allows the user to create records of the specified | Boolean. Valid Values: true/false. Default is false. Cannot be set to true if | N |
| Delete | Allows the user to delete records of the specified | Boolean. Valid Values: true/false. Default is false. | N |
| Execute | Allows the user to execute records of the specified | Boolean. Valid Values: true/false. Default is false. If the Strict Connection Execute Constraints Universal Controller system property is false:
If the Strict Connection Execute Constraints Universal Controller system property is true:
| N |
| Read | Allows the user to read records of the specified | Boolean. Valid Values: true/false. Default is false. If the Strict Business Service Membership Read Constraints Universal Controller system property is false:
| N |
| Update | Allows the user to update records of the specified | Boolean. Valid Values: true/false. Default is false. Must be set to true if | N |
| Member of Business Services | Applies this permission to records that are members of the selected Business Service(s). XML JSON | N | |
| Type | Type of permission for this user. | Valid values:
| Y |
| n/a | System ID field in the database for a record. | Persisted only if retainSysIds is set to true. | N |
Command Permissions
Permission Type | Commands |
|---|---|
Agent |
|
Agent Cluster |
|
Application |
|
Bundle |
|
Calendar |
|
Credential | |
Database Connection |
|
Email Connection |
|
Email Template |
|
OMS Server |
|
PeopleSoft Connection |
|
Promotion Target |
|
SAP Connection |
|
Script |
|
SNMP Manager |
|
Task |
|
Task Instance |
|
Trigger |
|
Variable | |
Virtual Resource |
|
User Preference Properties
See User Preferences for more information on each user preference.
Property Name | UI Name | Valid Values | Allow Empty Value |
|---|---|---|---|
|
| Yes No | N |
|
| As String = 5 seconds, As Value = 5000 As String = 10 seconds, As Value = 10000 As String = 15 seconds, As Value = 15000 As String = 20 seconds, As Value = 20000 As String = 25 seconds, As Value = 25000 As String = 30 seconds, As Value = 30000 As String = 45 seconds, As Value = 45000 As String = 1 minute, As Value = 60000 | N |
|
| As String = 15 per page, As Value = 15 As String = 20 per page, As Value = 20 As String = 25 per page, As Value = 25 As String = 30 per page, As Value = 30 As String = 35 per page, As Value = 35 40 per page, As Value = 40 As String = 45 per page, As Value = 45 As String = 50 per page, As Value = 50 | N |
|
| As String = Last 5 minutes, As Value = 5 | N |
|
| As String = Last 5 minutes, As Value = 5 | N |
|
| As String = Last 5 minutes, As Value = 5 | N |
|
| As String = Yes/No, As Value = 1 As String = Checkbox, As Value = 2 | N |
|
| As String = Browser Top, As Value = 1 | N |
|
| Integer: 1-15 | Y |
|
| Integer: 1-15 | Y |
|
| Yes No | N |
|
| Yes No | N |
|
| As String = 5 seconds, As Value = 5 | N |
|
| As String = contains, As Value = 1 | N |
|
| As String = Last 5 minutes, As Value = 5 | N |
|
| As String = -- System Default --, As Value = 0 | N |
|
| As String = -- System Default --, As Value = 0 | N |
|
| As String = -- System Default --, As Value = 0 | N |
|
| As String = -- System Default --, As Value = 0 | N |
|
| Yes No | N |
|
| As String = 1, As Value = 1 | N |
|
| As String = -- System Default --, As Value = 0 | N |
|
| As String = -- System Default --, As Value = 0 | N |
|
| As String = Last 5 minutes, As Value = 5 | N |
|
| As String = Last 5 minutes, As Value = 5 | N |
|
| As String = -- System Default --, As Value = 0 | N |
|
| Yes | N |
|
| As String = Last 5 minutes, As Value = 5 | N |
|
| As String = Last 5 minutes, As Value = 5 | N |
|
| As String = -- System Default --, As Value = 0 | N |
|
| As String = -- System Default --, As Value = 0 | N |
|
| Integer: 1-30 | Y |
|
| Yes | N |
|
| As String = -- System Default --, As Value = 0 | N |
|
| As String = -- System Default --, As Value = 0 | N |
|
| As String = -- System Default --, As Value = 0 | N |
|
| As String = -- System Default --, As Value = 0 | N |
|
| As String = -- System Default --, As Value = 0 | N |
|
| As String = -- System Default --, As Value = 0 | N |
|
| As String = -- System Default --, As Value = 0 | N |
|
| Y |
User Role Properties
Property | UI Field Name | Description | Specifications | Required |
|---|---|---|---|---|
| n/a | Role assigned to this user. | N | |
| n/a | System ID field in the database for a record. | N |
Create Personal Access Token
Description | |
|---|---|
URI | http://host_name/uc/resources/user/token |
HTTP Method | POST |
Description | Create the personal access token |
Example URI | |
Authentication | HTTP Basic |
Produces Content-Type | text/plain |
Consumes Content-Type | Application/XML, Application/JSON |
Example Responses |
|
Create Personal Access Token: Payload Properties (XML, JSON)
Property | UI Field Name | Description | Specifications | Required | Mutually Exclusive With |
|---|---|---|---|---|---|
| N/A | UUID of the user | UUID of the user | N | userName |
| N/A | User Name | String value of User name | N | userId |
| Name | Token Name | Specifies the name of the application that will access the Universal Controller Web Service APIs using the personal access token. | Y | |
| Expiration | Description of property. | Specifies when the personal access token expires. If left unspecified, the token never expires. Valid Value: yyyy-mm-dd | N (Y if Web Service Personal Access Token Maximum Expiration In Days system property is specified.) |
Create Personal Access Token: XML and JSON Examples
- JSON
- XML
List Personal Access Tokens
Description | |
|---|---|
URI | http://host_name/uc/resources/user/token/list |
HTTP Method | GET |
Description | List the user tokens |
Example URI | http://localhost:9090/uc/resources/user/token/list http://localhost:9090/uc/resources/user/token/list?username=test http://localhost:9090/uc/resources/user/token/list?userid=1234567 |
Authentication | HTTP Basic |
Produces Content-Type | Application/XML, Application/JSON |
Consumes Content-Type | |
Example Responses |
|
List Personal Access Tokens: Query Parameters
The following request parameters can be used to filter the results of this service.
Property | UI Field Name | Description | Specifications | Required | Mutually Exclusive With |
|---|---|---|---|---|---|
userid | N/A | UUID of the user | UUID of the user | N | username |
username | N/A | User Name | String value of User name | N | userid |
List Personal Access Tokens: XML and JSON Examples
- JSON
- XML
JSON
[
{
"createTime": "2022-07-28 17:11:35 -0400",
"expiration": "20220730",
"lastUsed": "Never",
"name": "test2",
"userName": "ops.admin"
},
{
"createTime": "2022-07-29 12:39:20 -0400",
"expiration": "20220730",
"lastUsed": "Never",
"name": "test3",
"userName": "ops.admin"
},
{
"createTime": "2022-07-28 17:08:07 -0400",
"expiration": "20220730",
"lastUsed": "Never",
"name": "test4",
"userName": "ops.admin"
},
{
"createTime": "2022-07-29 12:56:33 -0400",
"expiration": "20220730",
"lastUsed": "Never",
"name": "test5",
"userName": "ops.admin"
}
]
XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<tokens>
<token>
<createTime>2022-07-28 17:11:35 -0400</createTime>
<expiration>20220730</expiration>
<lastUsed>Never</lastUsed>
<name>test2</name>
<userName>ops.admin</userName>
</token>
<token>
<createTime>2022-07-29 12:39:20 -0400</createTime>
<expiration>20220730</expiration>
<lastUsed>Never</lastUsed>
<name>test3</name>
<userName>ops.admin</userName>
</token>
<token>
<createTime>2022-07-28 17:08:07 -0400</createTime>
<expiration>20220730</expiration>
<lastUsed>Never</lastUsed>
<name>test4</name>
<userName>ops.admin</userName>
</token>
<token>
<createTime>2022-07-29 12:56:33 -0400</createTime>
<expiration>20220730</expiration>
<lastUsed>Never</lastUsed>
<name>test5</name>
<userName>ops.admin</userName>
</token>
</tokens>
Revoke Personal Access Token
Description | |
|---|---|
URI | http://host_name/uc/resources/user/token |
HTTP Method | DELETE |
Description | Delete the personal access token(s) |
Example URI | http://localhost:9090/uc/resources/user/token?tokenname=test1&username=abc http://localhost:9090/uc/resources/user/token?tokenname=test1&userid=1234567 |
Authentication | HTTP Basic |
Produces Content-Type | |
Consumes Content-Type | |
Example Responses |
|
Revoke Personal Access Token: Query Parameters
The following request parameters will be needed for the service.
Property | UI Field Name | Description | Specifications | Required | Mutually Exclusive With |
|---|---|---|---|---|---|
userid | N/A | UUID of the user | UUID of the user | Y | username |
username | N/A | User Name | String value of User name | N | userid |
tokenname | token name | Token Name | Specifies the name of the application that will access the Universal Controller Web Service APIs using the personal access token. | Y |