NewWDEvents.PassportAuthenticate method

Enables server-side pages hosted in a wizard to verify that the user has been authenticated through a Microsoft account.

Syntax

bRetVal = NewWDEvents.PassportAuthenticate(
  bstrSignInUrl
)

Parameters

bstrSignInUrl [in]

Type: BSTR

A string containing the URL of a webpage that redirects to the Microsoft account log on UI.

Return value

Type: Boolean

Set to true if authentication succeeds, false otherwise.

Remarks

This method may be called even if a user is already logged on to a Microsoft account. In that case, the method returns true without displaying the Microsoft account log on UI.

Requirements

Requirement Value
Minimum supported client
Windows XP [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Shldisp.h
IDL
Shldisp.idl
DLL
Shell32.dll (version 6.0 or later)