PassportIdentity::GetIsAuthenticated Method (Int32, Int32, Int32)

 

Indicates whether the user is authenticated by a Passport authority. This class is deprecated.

Namespace:   System.Web.Security
Assembly:  System.Web (in System.Web.dll)

public:
bool GetIsAuthenticated(
	int iTimeWindow,
	int iForceLogin,
	int iCheckSecure
)

Parameters

iTimeWindow
Type: System::Int32

Specifies the interval during which members must have last logged on to the calling domain. A value of -1 indicates that Passport should use the default value, 0 represents false, and 1 represents true.

iForceLogin
Type: System::Int32

Determines how the iTimeWindow parameter is used. A value of -1 indicates that Passport should use the default value, 0 represents false, and 1 represents true.

iCheckSecure
Type: System::Int32

Enables checking for an encrypted logon. A value of -1 indicates that Passport should use the default value, 0 represents false, and 1 represents true.

A value of 10 or 100 for Passport version 2.1 Login servers specify SecureLevel 10 or 100 for the Passport Manager IsAuthenticated method. See the Passport version 2.1 SDK documentation for more information.

SSL sign-in is not available as an option for Passport version 1.4 Login servers. The value of iCheckSecure is ignored at the server.

Return Value

Type: System::Boolean

true if the user is authenticated by a central site responsible for Passport authentication; otherwise, false.

This class has been deprecated and is no longer supported. Microsoft Passport Network has been replaced by Windows Live ID. For more information about how to use Windows Live ID to authenticate users in a Web application, see Windows Live ID SDK.

No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: