Get details on the user account
- Last Updated: April 11, 2025
- 1 minute read
- Hybrid Data Pipeline
- Version 4.6
- Documentation
Purpose
Retrieves the user's permissions.
URL
https://<myserver>:<port>/api/mgmt/user
Method
GET
URL Parameters
<myserver> is the hostname or IP address of the machine hosting the Hybrid Data Pipeline server for a non-load balancer deployment, or the machine hosting the load balancer for a load balancer deployment. For a non-load balancer deployment, <port> is the port number specified as the Server Access Port during deployment. For a load balancer deployment, <port> must be either 80 for http or 443 for https. Whenever port 80 or 443 are used, it is not necessary to include the port number in the URL.
Response Definition
{
"userId": user_account_id,
"passwordExpiration": "YYYY-MM-DD HH:mm:ss.n",
"permissions": [permission_id, permission_id, ...]
}
| Property | Description | Valid Values |
|---|---|---|
| "userId" | The ID of the user account. | The ID is auto-generated when the user account is created and cannot be changed. |
| "passwordExpiration" | Specifies the date when the password expires. | UTC format YYYY-MM-DD HH:mm:ss.n |
| "permissions" | A list of effective permissions granted to the user account. Effective permissions for a user account are the sum of the permissions granted to the role(s) associated with the account and the permissions granted explicitly on the account. | A comma separated list of permission IDs. See Permissions and default roles for a list of supported permissions. |
Sample Server Success Response
Status code: 200
Successful response
{
"userId": 86,
"passwordExpiration": "YYYY-MM-DD HH:mm:ss.n",
"permissions": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12
]
}
Authentication
Basic Authentication using Login ID and Password
Authorization
The user must have the MgmtAPI (11) permission.