UserManager

Manager class for handling user operations. Provides offline-first user data access and management capabilities.

Functions

Link copied to clipboard

Count the total number of users in local storage.

Link copied to clipboard

Get all users from local storage. This includes users from both archive data and current user data.

Link copied to clipboard

Get the current user details. Returns the current logged-in user's details from local storage if available.

Link copied to clipboard
suspend fun getUserDetail(userUid: String): GetUserResult

Get detailed user information including contacts and role permissions.