@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 ​
Account Manager client
login ​
string
User login (email)
Returns ​
Promise<{ }>
User details
Throws ​
Error if user is not found