GetPeopleAsync

Gets a paginated list of people from the specified folder. Returns (Task<IEnumerable>)

Find all people (Person) in the designated Folder, adjust pages and page size to ensure quick and/or accurate retrieval.

Name Description
folder The folder containing the people to retrieve
page The zero-based page number for pagination (default is 0)
pageSize The Page Size (default is 1000). Maximum allowed value is 20000.

Get People Async

Example in C#

// Returns: IEnumerable<PersonInfo>
var personInfo = await client.GetPeopleAsync(FolderInfo folder, Int32 page, Int32 pageSize);

Example in CURL



           curl -X GET \
               https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/people?page=0&pageSize=1000 \
               -H 'Authorization: Bearer TOKEN_GOES_HERE'