Search Users with Count
1 min
GET
http://localhost/aioc-rest-web/rest/user/searchUsers?firstResultIndex=10&maxResultCount=10
Query Parameters
- firstResultIndexstringDefault10
- maxResultCountstringDefault10
Header Parameters
- x-xsrf-tokenstringDefault{{x-xsrf-token}}
Responses
200
curl
curl --request GET \
--url 'http://localhost/aioc-rest-web/rest/user/searchUsers?firstResultIndex=10&maxResultCount=10&firstResultIndex=10&maxResultCount=10' \
--header 'accept: application/json' \
--header 'x-xsrf-token: {{x-xsrf-token}}'javascript
var myHeaders = new Headers();
myHeaders.append("accept", "application/json");
myHeaders.append("content-type", "application/json");
myHeaders.append("x-xsrf-token", "{{x-xsrf-token}}");
var requestOptions = {
method: 'GET',
headers: myHeaders,
redirect: 'follow'
};
fetch("http://localhost/aioc-rest-web/rest/user/searchUsers?firstResultIndex=10&maxResultCount=10&firstResultIndex=10&maxResultCount=10", requestOptions)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));ruby
require "uri"
require "json"
require "net/http"
url = URI("http://localhost/aioc-rest-web/rest/user/searchUsers?firstResultIndex=10&maxResultCount=10&firstResultIndex=10&maxResultCount=10")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::Get.new(url)
request["accept"] = "application/json"
request["content-type"] = "application/json"
request["x-xsrf-token"] = "{{x-xsrf-token}}"
response = http.request(request)
puts response.read_body
python
import requests
import json
url = "http://localhost/aioc-rest-web/rest/user/searchUsers?firstResultIndex=10&maxResultCount=10&firstResultIndex=10&maxResultCount=10"
payload = {}
headers = {
'accept': 'application/json',
'content-type': 'application/json',
'x-xsrf-token': '{{x-xsrf-token}}'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
200
[
{
"id": "abbccd16-b31f-4449-8cc4-131d08cdebca",
"eid": "irem",
"personelId": null,
"name": "iremgul",
"passwordAlgorithm": null,
"password": null,
"secondPassword": null,
"email": "[email protected]",
"surname": "durmus",
"internal": true,
"properties": {
"ubaThreshold": "50"
},
"groups": [
"DEFAULT_GROUP_SYSYEM_USERS",
"0482ee83-aec0-4c89-bd42-6d31f4ae8ad5",
"DEFAULT_GROUP_SYSYEM_ADMINS"
],
"managerGroups": [
"0482ee83-aec0-4c89-bd42-6d31f4ae8ad5"
],
"lastLogin": 1695907613703,
"lastLoginIp": "10.20.50.229",
"groupPropertyKey4Search": null,
"groupPropertyValue4Search": null,
"recordLimit4Search": null,
"checkPermission4Search": false,
"passwordDirty": false,
"secondPasswordChange": false,
"passwordAutoGenerated": false,
"filterFunctionName": null,
"filterMembershipUserId": null,
"filterManagerId": null,
"filterEidList": null,
"filterIdList": null,
"filterManagerOfUserId": null,
"passwordSalt": null,
"creationTime": 1695642004340,
"delegations": [],
"firstResult": null,
"maxResult": null,
"locked": false,
"unlockOnPasswordChanged": false,
"unlockTime": null,
"tempUserStartTime": null,
"tempUser": false,
"externalDirectorySource": null,
"userPropertyKey4Search": null,
"userPropertyValue4Search": null,
"phoneNumber": null,
"adLineManager": null,
"forceChangePasswordOnNextLogin": false,
"lockReason": null,
"tempUserEndTime": null
},
{
"id": "ceaf834e-267b-461c-919c-08efc81a0893",
"eid": "iremgul",
"personelId": null,
"name": "iremgul",
"passwordAlgorithm": null,
"password": null,
"secondPassword": null,
"email": null,
"surname": null,
"internal": false,
"properties": {
"ubaThreshold": "50",
"objectGUID": "e12fdd1f-2e97-4856-96ae-b157b63e72f5",
"externalDirectorySource": "ldap-irem"
},
"groups": [
"DEFAULT_GROUP_SYSYEM_USERS",
"91326a09-ef94-4a69-9eb3-f45b47190587"
],
"managerGroups": [],
"lastLogin": null,
"lastLoginIp": null,
"groupPropertyKey4Search": null,
"groupPropertyValue4Search": null,
"recordLimit4Search": null,
"checkPermission4Search": false,
"passwordDirty": false,
"secondPasswordChange": false,
"passwordAutoGenerated": false,
"filterFunctionName": null,
"filterMembershipUserId": null,
"filterManagerId": null,
"filterEidList": null,
"filterIdList": null,
"filterManagerOfUserId": null,
"passwordSalt": null,
"creationTime": 1695776400281,
"delegations": [],
"firstResult": null,
"maxResult": null,
"locked": false,
"unlockOnPasswordChanged": false,
"unlockTime": null,
"tempUserStartTime": null,
"tempUser": false,
"externalDirectorySource": "ldap-irem",
"userPropertyKey4Search": null,
"userPropertyValue4Search": null,
"phoneNumber": null,
"adLineManager": null,
"forceChangePasswordOnNextLogin": false,
"lockReason": null,
"tempUserEndTime": null
},
{
"id": "6241b75b-7ce9-4cee-b4b2-6dbd078176f5",
"eid": "test1",
"personelId": null,
"name": "irem",
"passwordAlgorithm": null,
"password": null,
"secondPassword": null,
"email": "[email protected]",
"surname": "test2",
"internal": true,
"properties": {
"ubaThreshold": "50"
},
"groups": [
"DEFAULT_GROUP_SYSYEM_USERS",
"0482ee83-aec0-4c89-bd42-6d31f4ae8ad5"
],
"managerGroups": [],
"lastLogin": 1695728263664,
"lastLoginIp": "10.0.8.206",
"groupPropertyKey4Search": null,
"groupPropertyValue4Search": null,
"recordLimit4Search": null,
"checkPermission4Search": false,
"passwordDirty": false,
"secondPasswordChange": false,
"passwordAutoGenerated": false,
"filterFunctionName": null,
"filterMembershipUserId": null,
"filterManagerId": null,
"filterEidList": null,
"filterIdList": null,
"filterManagerOfUserId": null,
"passwordSalt": null,
"creationTime": 1695642616652,
"delegations": [],
"firstResult": null,
"maxResult": null,
"locked": false,
"unlockOnPasswordChanged": false,
"unlockTime": null,
"tempUserStartTime": null,
"tempUser": false,
"externalDirectorySource": null,
"userPropertyKey4Search": null,
"userPropertyValue4Search": null,
"phoneNumber": null,
"adLineManager": null,
"forceChangePasswordOnNextLogin": false,
"lockReason": null,
"tempUserEndTime": null
},
{
"id": "d2dafe63-bdb8-491e-9c7b-c4b1391db04a",
"eid": "test_efe",
"personelId": "test_efe",
"name": "test_efe",
"passwordAlgorithm": null,
"password": null,
"secondPassword": null,
"email": "test_efe@test_efe.com",
"surname": "test_efe",
"internal": true,
"properties": {
"ubaThreshold": "50"
},
"groups": [
"DEFAULT_GROUP_SYSYEM_USERS",
"0482ee83-aec0-4c89-bd42-6d31f4ae8ad5"
],
"managerGroups": [],
"lastLogin": 1695889902320,
"lastLoginIp": "10.20.50.229",
"groupPropertyKey4Search": null,
"groupPropertyValue4Search": null,
"recordLimit4Search": null,
"checkPermission4Search": false,
"passwordDirty": false,
"secondPasswordChange": false,
"passwordAutoGenerated": false,
"filterFunctionName": null,
"filterMembershipUserId": null,
"filterManagerId": null,
"filterEidList": null,
"filterIdList": null,
"filterManagerOfUserId": null,
"passwordSalt": null,
"creationTime": 1695824925604,
"delegations": [],
"firstResult": null,
"maxResult": null,
"locked": false,
"unlockOnPasswordChanged": false,
"unlockTime": null,
"tempUserStartTime": null,
"tempUser": false,
"externalDirectorySource": null,
"userPropertyKey4Search": null,
"userPropertyValue4Search": null,
"phoneNumber": null,
"adLineManager": null,
"forceChangePasswordOnNextLogin": false,
"lockReason": null,
"tempUserEndTime": null
},
{
"id": "b264d9c5-de02-433e-b32c-07e05816bb9d",
"eid": "test-irem",
"personelId": null,
"name": "irem",
"passwordAlgorithm": null,
"password": null,
"secondPassword": null,
"email": "[email protected]",
"surname": "test1",
"internal": true,
"properties": {
"ubaThreshold": "50"
},
"groups": [
"DEFAULT_GROUP_SYSYEM_USERS",
"0482ee83-aec0-4c89-bd42-6d31f4ae8ad5"
],
"managerGroups": [],
"lastLogin": 1695717934972,
"lastLoginIp": "10.0.8.206",
"groupPropertyKey4Search": null,
"groupPropertyValue4Search": null,
"recordLimit4Search": null,
"checkPermission4Search": false,
"passwordDirty": false,
"secondPasswordChange": false,
"passwordAutoGenerated": false,
"filterFunctionName": null,
"filterMembershipUserId": null,
"filterManagerId": null,
"filterEidList": null,
"filterIdList": null,
"filterManagerOfUserId": null,
"passwordSalt": null,
"creationTime": 1695715472631,
"delegations": [],
"firstResult": null,
"maxResult": null,
"locked": false,
"unlockOnPasswordChanged": false,
"unlockTime": null,
"tempUserStartTime": null,
"tempUser": false,
"externalDirectorySource": null,
"userPropertyKey4Search": null,
"userPropertyValue4Search": null,
"phoneNumber": null,
"adLineManager": null,
"forceChangePasswordOnNextLogin": false,
"lockReason": null,
"tempUserEndTime": null
},
{
"id": "e0cabb4b-988e-47f7-8fa5-d2604fd3582d",
"eid": "testtesttest",
"personelId": "testtesttest",
"name": "test",
"passwordAlgorithm": null,
"password": null,
"secondPassword": null,
"email": "[email protected]",
"surname": "test",
"internal": true,
"properties": {
"ubaThreshold": "50"
},
"groups": [
"DEFAULT_GROUP_SYSYEM_USERS",
"618ca31b-13e7-484c-8bea-9a00a28a8ca7"
],
"managerGroups": [
"618ca31b-13e7-484c-8bea-9a00a28a8ca7"
],
"lastLogin": 1695907414707,
"lastLoginIp": "10.20.50.229",
"groupPropertyKey4Search": null,
"groupPropertyValue4Search": null,
"recordLimit4Search": null,
"checkPermission4Search": false,
"passwordDirty": false,
"secondPasswordChange": false,
"passwordAutoGenerated": false,
"filterFunctionName": null,
"filterMembershipUserId": null,
"filterManagerId": null,
"filterEidList": null,
"filterIdList": null,
"filterManagerOfUserId": null,
"passwordSalt": null,
"creationTime": 1695889293146,
"delegations": [],
"firstResult": null,
"maxResult": null,
"locked": false,
"unlockOnPasswordChanged": false,
"unlockTime": null,
"tempUserStartTime": null,
"tempUser": false,
"externalDirectorySource": null,
"userPropertyKey4Search": null,
"userPropertyValue4Search": null,
"phoneNumber": null,
"adLineManager": null,
"forceChangePasswordOnNextLogin": false,
"lockReason": null,
"tempUserEndTime": null
}
]