Muokkaa

Jaa


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.

public:
 System::String ^ LogoTag2();
public string LogoTag2 ();
member this.LogoTag2 : unit -> string
Public Function LogoTag2 () As String

Returns

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

Examples

// 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();
' Declare new PassportIdendity object as variable newPass.
Dim newPass As System.Web.Security.PassportIdentity = New System.Web.Security.PassportIdentity()
' Set a string to the URL of the appropriate Passport 
' SignIn/SignOut Authority.
Dim sPassportlink As String = newPass.LogoTag2()

Remarks

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

Applies to

LogoTag2(String)

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

public:
 System::String ^ LogoTag2(System::String ^ strReturnUrl);
public string LogoTag2 (string strReturnUrl);
member this.LogoTag2 : string -> string
Public Function LogoTag2 (strReturnUrl As String) As String

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

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.

public:
 System::String ^ LogoTag2(System::String ^ strReturnUrl, int iTimeWindow, bool fForceLogin, System::String ^ strCoBrandedArgs, int iLangID, bool fSecure, System::String ^ strNameSpace, int iKPP, bool bUseSecureAuth);
public string LogoTag2 (string strReturnUrl, int iTimeWindow, bool fForceLogin, string strCoBrandedArgs, int iLangID, bool fSecure, string strNameSpace, int iKPP, bool bUseSecureAuth);
member this.LogoTag2 : string * int * bool * string * int * bool * string * int * bool -> string
Public Function LogoTag2 (strReturnUrl As String, iTimeWindow As Integer, fForceLogin As Boolean, strCoBrandedArgs As String, iLangID As Integer, fSecure As Boolean, strNameSpace As String, iKPP As Integer, bUseSecureAuth As Boolean) As String

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

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.

public:
 System::String ^ LogoTag2(System::String ^ strReturnUrl, int iTimeWindow, int iForceLogin, System::String ^ strCoBrandedArgs, int iLangID, int iSecure, System::String ^ strNameSpace, int iKPP, int iUseSecureAuth);
public string LogoTag2 (string strReturnUrl, int iTimeWindow, int iForceLogin, string strCoBrandedArgs, int iLangID, int iSecure, string strNameSpace, int iKPP, int iUseSecureAuth);
member this.LogoTag2 : string * int * int * string * int * int * string * int * int -> string
Public Function LogoTag2 (strReturnUrl As String, iTimeWindow As Integer, iForceLogin As Integer, strCoBrandedArgs As String, iLangID As Integer, iSecure As Integer, strNameSpace As String, iKPP As Integer, iUseSecureAuth As Integer) As String

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