System.Web.Security.PassportIdentity.LogoTag2 Method

Returns an HTML fragment containing an HTML <img> tag for a Passport link. This class is deprecated.

Syntax

public string LogoTag2 (string strReturnUrl, int iTimeWindow, int iForceLogin, string strCoBrandedArgs, int iLangID, int iSecure, string strNameSpace, int iKPP, int iUseSecureAuth)

Parameters

strReturnUrl
Sets the URL of the location to which the Login server should redirect members after they log on. Pass null to indicate that Passport should use the default value.
iTimeWindow
Specifies the interval during which members must have last logged on. Pass -1 to indicate that Passport should use the default value.
iForceLogin
Determines how the iTimeWindow parameter gets used. Pass -1 to indicate that Passport should use the default value.
strCoBrandedArgs
Specifies variables to be appended as query string variables to the URL of the participant's Cobranding Template script page. Pass null to indicate that Passport should use the default value.
iLangID
Specifies the language to be used for the logon page that is displayed to the member. Pass -1 to indicate that Passport should use the default value.
iSecure
Declares whether this method is being called from an HTTPS (SSL) page. Pass -1 to indicate that Passport should use the default value.
strNameSpace
Specifies the domain in which the Passport should be created. Pass null to indicate that Passport should use the default value.
iKPP
Specifies data collection policies for purposes of Children's Online Privacy Protection Act (COPPA) compliance. Pass -1 to indicate that Passport should use the default value.
iUseSecureAuth
Declares whether the actual logon UI should be served HTTPS from the Passport domain authority. Pass -1 to indicate that Passport should use the default value.

Returns

An HTML fragment containing an image tag for a Passport link.

Remarks

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 tp://go.microsoft.com/fwlink/?LinkId=106346.

Requirements

Namespace: System.Web.Security
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0