PassportIdentity.SignOut(String) Method

Definition

Logs off the given Passport member from the current session. This class is deprecated.

C#
public static void SignOut(string strSignOutDotGifFileName);

Parameters

strSignOutDotGifFileName
String

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

Examples

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);

Remarks

This class has been deprecated and is no longer supported. Microsoft Passport Network was replaced by Windows Live ID.

Applies to

Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1