List users
Log in to add to favouritesList users
User resources can be retrieved as a paged list by passing an optional UserListOptions object as an argument.
list(options?: UserListOptions): Promise<PagedList<User>>
Returns
Example
client.security.users.list({
q: 'mycompany.com',
pageOptions: { pageIndex: 1, pageSize: 5 },
order: ['userName']
})
.then(result => {
console.log('API call result: ', result);
})
.catch(error => {
console.log('API call error: ', error);
});