Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.


Last modified: March 13, 2015

Specifies whether the current user can be signed out of his or her Microsoft account, in a Windows Store app or web app.


This function has no parameters.

Return value

Returns true if the user can be signed out; otherwise, returns false if the user can't be signed out.


For Windows Store apps using JavaScript, you can use this function to determine whether you should display a control to the user to enable him or her to sign out of his or her Microsoft account. If this function returns true, you should display the control. However, if this function returns false, you should not display this control, as attempting to sign out the user in this case will have no effect.

For web apps, this function always returns true.




© 2017 Microsoft