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