Lists the teammates in the company.
function listTeammates(paginationToken?: string, cancelToken?: CancelToken): Promise<PaginatedResults<Teammate>>
Parameters
Parameter | Type | Description |
---|---|---|
paginationToken | PaginationToken | Token of the requested page. If omitted, will return the first page of results. |
cancelToken | Cancel token | Token to cancel the request. |
Return value
The function returns a promise that resolves with a paginated list of teammates.
Property | Type | Description |
---|---|---|
nextPageToken | PaginationToken (optional) | Token to access the next page of results, if any. |
results | Array of Teammate | List of teammates. |