User
A user holds the user's metadata and tokens for accessing App Services and Device Sync functionality.
User profile and custom data can be accessed using the extension functions User.profileAsBsonDocument and User.customDataAsBsonDocument.
The user is used to configure synchronized realms with SyncConfiguration.Builder.
See also
Types
A user's potential states.
Functions
Links the current user with a new user identity represented by the given credentials.
Log the user out of the Realm App. This will unregister them on the device and stop any synchronization to and from the users' Realms. Any Realms owned by the user will not be deleted from the device before User.remove is called.
Re-fetch custom user data from the Realm App.
Properties
Gives access to the ApiKeyAuth interface so that users can manage their API keys.
Extensions
Returns the custom user data associated with the user in the Realm App as T.
Return the custom user data associated with the user in the Realm App as BsonDocument.
Returns the profile for this user as BsonDocument.