SFSRoomManagerGetUserRooms Method |
Retrieves a list of Rooms joined by the specified user.
Namespace:
Sfs2X.Entities.Managers
Assembly:
SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax public List<Room> GetUserRooms(
User user
)
Parameters
- user
- Type: Sfs2X.EntitiesUser
The object representing the user to look for in the current Rooms list.
Return Value
Type:
ListRoomThe list of Rooms joined by the passed user.
Implements
IRoomManagerGetUserRooms(User)Remarks
The list contains only those Rooms "known" by the Room Manager; the user might have joined others the client is not aware of.
See Also