---
editLink: false
lastUpdated: false
---

[@salesforce/b2c-tooling-sdk](../../modules.md) / [auth](../index.md) / getAccountManagerRoleTenants

# Function: getAccountManagerRoleTenants()

> **getAccountManagerRoleTenants**(`claims`, `role`): `string`[]

Defined in: [packages/b2c-tooling-sdk/src/auth/account-manager-claims.ts:204](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/d7ff38c7ca2b1411cd718b9554500c9416f00266/packages/b2c-tooling-sdk/src/auth/account-manager-claims.ts#L204)

Tenants the claims grant for a role, from `tenantFilter`. Empty when the role isn't tenant-scoped or not held.

## Parameters

### claims

`Pick`\<[`AccountManagerClaims`](../interfaces/AccountManagerClaims.md), `"tenantFilter"`\>

### role

`string`

## Returns

`string`[]
