Parameters

An HTML fragment containing an image for the user to click on to sign out.

Remarks

For more information, see the Passport SDK documentation in the MSDN Library at http://msdn.microsoft.com/library .

Example

[Visual Basic]
' This example demonstrates how to sign a user out of Passport.
' local GIF file that the user is redirected to.
Dim signOutGifFile As String = "signout.gif"
' Signs the user out of their Passport Profile and displays the SignOut.gif file.
System.Web.Security.PassportIdentity.SignOut(signOutGifFile)
[C#]
// This example demonstrates how to sign a user out of Passport.
// local GIF file that the user is redirected to.
string signOutGifFile = "signout.gif";
// Signs the user out of their Passport Profile and displays the SignOut.gif file.
System.Web.Security.PassportIdentity.SignOut(signOutGifFile);
[C++]
// This example demonstrates how to sign a user out of Passport.
// local GIF file that the user is redirected to.
String* signOutGifFile = S"signout.gif";
// Signs the user out of their Passport Profile and displays the SignOut.gif file.
PassportIdentity::SignOut(signOutGifFile);

[JScript] No example is available for JScript. To view a Visual Basic, C#, or C++ example, click the Language Filter button in the upper-left corner of the page.