Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

PassportIdentity.SignOut Method

Logs off the given Passport member from the current session.

Namespace: System.Web.Security
Assembly: System.Web (in system.web.dll)
public static void SignOut (
	string strSignOutDotGifFileName
)
public static void SignOut (
	String strSignOutDotGifFileName
)
public static function SignOut (
	strSignOutDotGifFileName : String
)
Not applicable.

Parameters

strSignOutDotGifFileName

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

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

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

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

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.