Export (0) Print
Expand All

consentCompleted Event

Ff751730.note(en-us,MSDN.10).gifNote:
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.

Optional. Sets the event handler for when the user grants consent to the application.

Script:  http://js.live.net/4.1/loader.js
Feature:  Messenger.UI
Namespace:  Microsoft.Live.UI.Messenger
 

// Your event handler:
function consentCompletedEventHandler(sender, e) {
    // Event handling code
}

// To add the handler:
instance.add_consentCompleted(consentCompletedEventHandler);

// To remove the handler:
instance.remove_consentCompleted(consentCompletedEventHandler);
<msgr:sign-in onconsent-completed="function-name"></msgr:sign-in>

This event occurs when the user grants consent to the application. When consent occurs, the application receives a consent token that it can store and use to later sign the user in to the Windows Live Messenger Service.

Windows Live Messenger Connect

Supported in: 4.1

Windows Live Messenger Web Toolkit

Supported in: 3.7

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 3.0, Chrome 3.0, Chrome 2.0, Chrome 1.0, Safari 4.0, Safari 3.0, Opera 10.5

Show:
© 2015 Microsoft