To get the profile of a user you need to call the function getProfile, which will return a promise including the user's information.
π§ If you only want to retrieve a user's profilegetProfile is a perfect function, but if you also need to retrieve his wallets and even authenticate the user, then it is recommended to retrieve the user account.
The function reference describes the different functions that are available in the Widget. For each function, you can find the signature, it's parameters, and possible options documented.