Click or drag to resize

IRoomManagerGetUserRooms 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
C#
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: ListRoom
The list of Rooms joined by the passed 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