PassportIdentity.LogoTag2 Method

Definition

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

Overloads

LogoTag2()

Returns an HTML fragment containing an image tag for a Passport link. This class is deprecated.

LogoTag2(String)

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

LogoTag2(String, Int32, Boolean, String, Int32, Boolean, String, Int32, Boolean)

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

LogoTag2(String, Int32, Int32, String, Int32, Int32, String, Int32, Int32)

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

Remarks

This class has been deprecated and is no longer supported. Microsoft Passport Network was replaced by Windows Live ID.

LogoTag2()

Returns an HTML fragment containing an image tag for a Passport link. This class is deprecated.

C#
public string LogoTag2 ();

Returns

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

Examples

C#
// Declare new PassportIdendity object as variable newPass.
System.Web.Security.PassportIdentity newPass = new System.Web.Security.PassportIdentity();
// Set a string to the URL of the appropriate Passport SignIn/SignOut authority.
string sPassportlink = newPass.LogoTag2();

Remarks

This class has been deprecated and is no longer supported. Microsoft Passport Network was replaced by Windows Live ID.

Applies to

.NET Framework 4.8.1 et autres versions
Produit Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

LogoTag2(String)

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

C#
public string LogoTag2 (string strReturnUrl);

Parameters

strReturnUrl
String

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.

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 was replaced by Windows Live ID.

Applies to

.NET Framework 4.8.1 et autres versions
Produit Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

LogoTag2(String, Int32, Boolean, String, Int32, Boolean, String, Int32, Boolean)

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

C#
public string LogoTag2 (string strReturnUrl, int iTimeWindow, bool fForceLogin, string strCoBrandedArgs, int iLangID, bool fSecure, string strNameSpace, int iKPP, bool bUseSecureAuth);

Parameters

strReturnUrl
String

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
Int32

Specifies the interval during which members must have last logged on. Pass -1 to indicate that Passport should use the default value.

fForceLogin
Boolean

Determines how the iTimeWindow parameter gets used. Pass -1 to indicate that Passport should use the default value.

strCoBrandedArgs
String

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
Int32

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.

fSecure
Boolean

Declares whether this method is being called from an HTTPS (SSL) page. Pass -1 to indicate that Passport should use the default value.

strNameSpace
String

Specifies the domain in which the Passport should be created. Pass null to indicate that Passport should use the default value.

iKPP
Int32

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.

bUseSecureAuth
Boolean

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 was replaced by Windows Live ID.

Applies to

.NET Framework 4.8.1 et autres versions
Produit Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

LogoTag2(String, Int32, Int32, String, Int32, Int32, String, Int32, Int32)

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

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

Parameters

strReturnUrl
String

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
Int32

Specifies the interval during which members must have last logged on. Pass -1 to indicate that Passport should use the default value.

iForceLogin
Int32

Determines how the iTimeWindow parameter gets used. Pass -1 to indicate that Passport should use the default value.

strCoBrandedArgs
String

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
Int32

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
Int32

Declares whether this method is being called from an HTTPS (SSL) page. Pass -1 to indicate that Passport should use the default value.

strNameSpace
String

Specifies the domain in which the Passport should be created. Pass null to indicate that Passport should use the default value.

iKPP
Int32

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
Int32

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 was replaced by Windows Live ID.

Applies to

.NET Framework 4.8.1 et autres versions
Produit Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1