getUser

abstract fun getUser(userId: String): User?

Get a user from a userId.

Return

a user with userId or null if the User is not known yet by the SDK. See resolveUser to ensure that a User is retrieved.

Parameters

userId

the userId to look for.