@salesforce/b2c-tooling-sdk / clients / getRole
Function: getRole()
getRole(
client,roleId):Promise<{ }>
Defined in: packages/b2c-tooling-sdk/src/clients/am-api.ts:552
Retrieves details of a role by ID.
Parameters
client
Account Manager Roles client
roleId
string
Role ID
Returns
Promise<{ }>
Role details
Throws
Error if role is not found or request fails