Retrieves a User object from its name property.
Namespace:
Sfs2X.Entities
Assembly:
SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax User GetUserByName(
string name
)
Parameters
- name
- Type: SystemString
The name of the user to be found.
Return Value
Type:
UserThe object representing the user, or
null if no user with the passed name exists in this Room.
See Also