Skip to main content
Version: 6.1.0

SysGetPage

Retrieves first page of users from server based on the specified query context.

Note that for apps with > 10,000 users, it is recommended that doCount be set to false for better performance.

Searchable fields​

The searchCriteria (and sortCriteria) may only reference fields in the app's allowed user search fields list. By default these are:

profileId, playerId, playerName, emailAddress, memberOf, plus the logical operators $and, $or and $nor.

Field names must match an entry exactly — any other field is rejected with an INVALID_WHERE error.

ServiceOperation
userSYS_GET_PAGE

Method Parameters​

ParameterDescription
contextA context JSON object describing the pagination, searchCriteria and sortCriteria options

Usage​

http://localhost:3000
// Cloud Code only. To view example, switch to the Cloud Code tab
JSON Response
{
"status": 200,
"data": {
"context": "eyJzZWFyY2hDcml0ZXJpYSI6eyJnYW1lSWQiOiIyMTc3NCxxx...",
"results": {
"count": 1,
"page": 1,
"items": [
{
"profileId": "0b53155b-1fc8-4916-XXXX-298379efc67a",
"playerName": "Bats",
"countryCode": "CA",
"timeZoneOffset": -5,
"summaryFriendData": {
"favColor": "black"
},
"emailAddress": "bruce@wayneent.com"
}
],
"moreAfter": false,
"moreBefore": false
}
}
}