getUserBy

fun getUserBy(id: String, onCompletion: (Either<User, SippoResourceError>) -> Unit)

Searches for the user who have an id that matches the specified id.

Parameters

id

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.