getUser
The getUser
method is used to look up if a user already exists for a given email address
Usage
example.ts
import { signer } from "./signer";
const result = await signer.getUser("[email protected]");
Returns
Promise<{orgId: string} | null>
-- if a user exists, this will return an object with the orgId of the user. If no user exists, this will return null
.