Click or drag to resize

FindUsersRequest Constructor (MatchExpression, String, Int32)

Creates a new FindUsersRequest instance.

Namespace:  Sfs2X.Requests
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
public FindUsersRequest(
	MatchExpression expr,
	string target,
	int limit
)

Parameters

expr
Type: Sfs2X.Entities.MatchMatchExpression
A matching expression that the system will use to retrieve the users.
target
Type: SystemString
The name of a Group or a single Room object where to search for matching users; if null, the search is performed in the whole Zone (default = null).
limit
Type: SystemInt32
The maximum size of the list of users that will be returned by the userFindResult event. If 0, all the found users are returned (default = 0).
Remarks
The instance must be passed to the SmartFox.Send method for the request to be performed.
See Also