signIn Method

Current information about Live Connect is now available in the Windows Live Developer Center. The information in the following sections is provided for legacy purposes only.

Signs in the currently authenticated user to Messenger.

Feature:  Microsoft.Live
Namespace:  Microsoft.Live

instance.signIn(status, callback);


Type: PresenceStatus

An optional parameter that specifies the initial presence status of the user. If no value is specified, the initial presence status of the user will be online.

Type: Microsoft.Live..::.SignedInCallback

An optional parameter that specifies the function to execute once the user has successfully signed in.

The following example demonstrates how to sign in a user to Messenger Connect with a default status of online.

//Get the messenger context.
messengerContext = wl.App.get_messengerContext();
//Sign in and set the user's status to appear online.
var status =;
messengerContext.signIn(status, onSignedIn);

Windows Live Messenger Connect

Supported in: 4.1

Internet Explorer 8.0, Internet Explorer 7.0, Internet Explorer 6.0, Firefox 3.6, Firefox 3.5, Firefox 3.0, Firefox 2.0, Firefox 1.5, Chrome 4.0, Chrome 3.0, Chrome 2.0, Chrome 1.0, Safari 4.0, Safari 3.0