This documentation is archived and is not being maintained.
PassportIdentity.SignOut Method
.NET Framework 1.1
Logs off the given Passport member from the current session.
[Visual Basic] Public Shared Sub SignOut( _ ByVal strSignOutDotGifFileName As String _ ) [C#] public static void SignOut( string strSignOutDotGifFileName ); [C++] public: static void SignOut( String* strSignOutDotGifFileName ); [JScript] public static function SignOut( strSignOutDotGifFileName : String );
Parameters
- strSignOutDotGifFileName
- 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.
Requirements
Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family
See Also
PassportIdentity Class | PassportIdentity Members | System.Web.Security Namespace
Show: