getUser

abstract fun getUser(userId: String): UserData?

Retrieves a user by their ID.

Return

the user with the given ID, or null if no user found

Parameters

userId

the ID of the user to retrieve