Skip to content
View as Markdown
View as Markdown

@salesforce/b2c-tooling-sdk / operations/bm-users / whoamiBmUser

Function: whoamiBmUser()

whoamiBmUser(instance): Promise<{ }>

Defined in: packages/b2c-tooling-sdk/src/operations/bm-users/users.ts:160

Returns details for the currently authenticated user (the user the OAuth token resolves to).

Useful for verifying which BM identity is in use on an instance.

Parameters

instance

B2CInstance

B2C instance

Returns

Promise<{ }>

Current user details (includes password expiration info)

Released under the Apache-2.0 License.