Creates a new FindUsersRequest instance.

Namespace: Sfs2X.Requests
Assembly: SmartFox2X (in SmartFox2X.dll) Version: 1.7.0.0 (1.7.0)

Syntax

C#
public FindUsersRequest(
	MatchExpression expr,
	string target,
	int limit
)

Parameters

expr
Type: Sfs2X.Entities.Match..::..MatchExpression
A matching expression that the system will use to retrieve the users.
target
Type: System..::..String
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: System..::..Int32
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