requestUserInfo
Requests user information by user ID.
Declaration
suspend fun requestUserInfo( userId: String, timeoutMs: Long = DEFAULT_TIMEOUT_MS ): UserResult
Summary
Returns
UserResult containing the user information if successful.
Throws
SitesException— if the request fails with an error.kotlinx.coroutines.CancellationException— if the coroutine is cancelled.
Parameters
| Name | Type | Summary |
|---|---|---|
| userId | String | The user ID to query. |
| timeoutMs | Long | Maximum time to wait for the request to complete. |
Requests user information by user ID.