getUserByUri

fun getUserByUri(userUri: String, onCompletion: (Either<User, SippoResourceError>) -> Unit)

Searches for the user who have an Uri that matches the specified userUri.

Parameters

userUri

the ID to search for.

onCompletion

Callback that will be invoked when the request is completed. It will receive the user in case of success or a SippoResourceError otherwise.