WL.canLogout
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.
Parameters
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.
Remarks
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.
Requirements
|
Library |
Wl.js |
|---|