getUsersBy

fun getUsersBy(identifier: String, onCompletion: (Either<List<User>, SippoResourceError>) -> Unit)

Searches for users who have any field that matches the specified identifier.

Parameters

identifier

Search reason.

onCompletion

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