Click or drag to resize

IUserManager Interface

The IUserManager interface defines all the methods and properties exposed by the client-side manager of the SmartFoxServer User entities.

Namespace:  Sfs2X.Entities.Managers
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
public interface IUserManager

The IUserManager type exposes the following members.

Properties
  NameDescription
Public propertyUserCount
Returns the total number of users in the local users list.
Top
Methods
  NameDescription
Public methodContainsUser
Indicates whether a user exists in the local users list or not.
Public methodContainsUserId
Indicates whether a user exists in the local users list or not from the id.
Public methodContainsUserName
Indicates whether a user exists in the local users list or not from the name.
Public methodGetUserById
Retrieves a User object from its id property.
Public methodGetUserByName
Retrieves a User object from its name property.
Public methodGetUserList
Get the whole list of users inside the Rooms joined by the client.
Top
Remarks
In the SmartFoxServer 2X client API this interface is implemented by the SFSUserManager class. Read the class description for additional informations.
See Also