PassportIdentity.IsAuthenticated Property
.NET Framework 3.0
Gets a value indicating whether the user is authenticated against a Passport authority.
Namespace: System.Web.Security
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
// Declare new PassportIdendity object as variable newPass. System.Web.Security.PassportIdentity newPass = new System.Web.Security.PassportIdentity(); // Set the string sIsAuth to the users SignIn status (a boolean) converted to a string. String sIsAuth = newPass.IsAuthenticated.ToString();
// Declare new PassportIdendity object as variable newPass.
System.Web.Security.PassportIdentity newPass =
new System.Web.Security.PassportIdentity();
// Set the string sIsAuth to the users SignIn status (a boolean)
// converted to a string.
String sIsAuth = System.Convert.ToString(
newPass.get_IsAuthenticated());
Community Additions
ADD
Show: