Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Page Properties
hiddentrue
idDONE

Product Version
Report Note
Assignee

Resources & Remarks

Modification History

2021 Summer
NameDateProduct VersionAction
Antje19 MAY 202102 MAR 20232023 SpringPage created.



As of Version

product version 2021 Summer | component version 2023 Spring

Request MethodGET
Response FormatJSON
Description


Excerpt

Retrieves a list of all users. The result list can be filtered by applying conditions that have to be matched.


The conditions are specified via the following optional query parameters:

ParameterTypeDescription
excludeMebooleanIf true, the currently logged-in user is excluded from the result list. (default: true)
pageinteger($int32)Result page you want to retrieve (0…N). Default is 0 which means the first page.
searchstringRetrieve only users for which the specified string is contained in user name, first name, last name or e-mail.
sizeinteger($int32)Limit the number of users per page. (default: 20)
sortstringSorting of results either ascending (asc) or descending (desc). Default sort order is ascending.
rolesarray[string]Retrieve only users that have at least one of the provided roles.
onlyActivebooleanIf true, the disabled users are excluded from the result list. (default: true)

Response HTTP status codes:

HTTP Status CodeMeaning
200 OKSuccessful.
401 UnauthorizedNot successful.


Request Example

https://<host>/api-web/api/users/users

no request body

Response Example

200 OK

Code Block
languageyml
[
  {
    "accountNonExpiredusername": true"string",
    "accountNonLockedid": true"string",
    "authoritiesforeignid": [
      "string"
    ],
    "credentialsNonExpiredtype": true"string",
    "domaintitle": "string",
    "email": "string",
    "enabledfirstname": true"string",
    "firstnamelastname": "string",
    "foreigniddomain": "string",
    "idtenant": "string",
    "lastnameauthorities": [
      "string"
    ],
    "substituteOf": [
      "string"
    ],
    "tenantaccountNonExpired": "string"true,
    "accountNonLocked": true,
    "titlecredentialsNonExpired": "string"true,
    "typeenabled": "string"true,
    "usernamedisplayName": "string"
  }
]