@salesforce/b2c-tooling-sdk / operations/orgs / listOrgs
Function: listOrgs()
listOrgs(
client,options?):Promise<OrganizationCollection>
Defined in: packages/b2c-tooling-sdk/src/operations/orgs/index.ts:102
Lists organizations with pagination.
Parameters
client
Account Manager Organizations client
options?
Pagination options. Set all: true to retrieve all organizations using the max page size of 5000
Returns
Promise<OrganizationCollection>
Paginated organization collection with pagination metadata (totalElements, totalPages, number, size)