Get all Users

get

/cloudapi/restapi/user

This operation fetches all users. All attributes and assigned roles are returned for each user.

Request

There are no request parameters for this operation.

Back to Top

Response

Supported Media Types

200 Response

successful operation
Body ()
Root Schema : User
Type: object
Show Source
Nested Schema : CloudTZDateTime
Type: object
Show Source
Nested Schema : Organization
Type: object
Show Source
Nested Schema : password
Type: array
Show Source
Nested Schema : roles
Type: array
Show Source
Nested Schema : associations
Type: array
Unique Items Required: true
Show Source
Nested Schema : PwdPolicy
Type: object
Show Source
Nested Schema : Role
Type: object
Show Source

400 Response

Invalid input, Please check.
Back to Top

Examples

Method

GET

Response Content Type

application/json

Operation

/cloudapi/restapi/user

cURL Example

REQUEST URL: http://<hostname>:<port>/cloudapi/restapi/user

curl -X GET "http://<hostname>:<port>/cloudapi/restapi/user" -H "accept: application/json"

Response Body Example

[

{

"loginId": "JSMITH",

"updatedDate": "2018-05-11T08:04:50",

"statusInfo": "",

"organization": {

"associations": [],

"inheritedPolicy": false,

"isDeletable": false,

"bidderCompany": false,

"displayName": "sfo",

"id": "4",

"name": "sfo"

},

"emailAddress": "jsmith@pgbu.com",

"disabled": false,

"roles": [

{

"displayName": "Primavera Unifier Production",

"id": "77",

"name": "PrimaveraUnifierProduction"

}

],

"locked": false,

"status": "Active",

"createdBy": "COADMIN",

"pwdExpireDate": "2019-02-18T17:11:47",

"pwdWarnDate": "2018-09-21T17:11:47",

"pwdExpired": false,

"pwdCantChange": false,

"pwdWarned": false,

"loginAttemptsCtr": "0",

"lastAction": "Updated",

"firstName": "Jim",

"lastName": "Smith",

"userType": "EMP",

"createdDate": "2018-04-09T15:21:25",

"provisionedDate": "2018-04-09T15:26:49",

"changePwdAtNextLogin": true,

"id": "3336"

}

]

Back to Top