Skip to content
View as Markdown
View as Markdown

@salesforce/b2c-tooling-sdk / operations/users / getUserByLogin

Function: getUserByLogin()

getUserByLogin(client, login): Promise<{ }>

Defined in: packages/b2c-tooling-sdk/src/operations/users/index.ts:140

Retrieves details of a user by login (email). This searches through paginated results to find the user.

Parameters

client

AccountManagerUsersClient

Account Manager client

login

string

User login (email)

Returns

Promise<{ }>

User details

Throws

Error if user is not found

Released under the Apache-2.0 License.