get User Detail
suspend fun getUserDetail(userUid: String, fetchType: ZyncFetchType = ZyncFetchType.NONE): GetUserDetailResult
Get detailed user information including contacts, role permissions, and custom fields. Supports offline-first pattern with background sync and force refresh capabilities.
Return
GetUserResult containing user details with complete information and sync metadata, or error
Parameters
user Uid
The unique identifier of the user
fetch Type
The fetch type to control data freshness (NONE, FORCE_REFRESH, MARK_STALE)