The User type exposes the following members.
Check if a UserVariable exists
Return the playerId for the specific Room.
Get a UserVariable
Get all the User Variables
Return true if the User is logged in as administrator user
Return true if the User is logged in as guest user
Return true if the User is joined in the specified Room
Return true if the User is logged in as moderator user
Return true if the User is a Player in the specified Room
Return true if the User is a Spectator in the specified Room
Return true if the User is logged in as standard user
Get the unique User Id
Return true if the User object is the client's User object, also known as SmartFox.MySelf
Return true if the User is a Player (playerId > 0) in the last joined Room
Return true if the User is a Spectator (playerId < 0) in the last joined Room
The user name
Get the playerId of the User.
Get the privilegeId of the User
A generic object that can be used to store any User custom data needed at runtime.
Get the UserManager of this User