Dispatched when the current user performs a successful login in a server Zone.

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

Syntax

C#
public static readonly string LOGIN

Field Value

Type: String

Remarks

This event is fired in response to the LoginRequest request.

The Params object contains the following parameters:

ParameterDescription
user(User) An object representing the user who performed the login.
data(ISFSObject) An object containing custom parameters returned by a custom login system, if any.

Examples

See the LoginRequest example.

See Also