Retrieve a user currently in the room.
- userId (Object)
- the user name (string) or the id (int) of the user to retrieve
A {User} object
Version:
SmartFoxServer Basic / Pro
SmartFoxServer Basic / Pro
User user = room.GetUser("jack");