PassportIdentity.LogoTag Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns an HTML fragment containing an HTML <img> tag for a Passport link. This class is deprecated.
Overloads
LogoTag(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. |
LogoTag(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. |
LogoTag() |
Returns an HTML fragment containing an image tag for a Passport link. This class is deprecated. |
LogoTag(String) |
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.
LogoTag(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 ^ LogoTag(System::String ^ strReturnUrl, int iTimeWindow, int iForceLogin, System::String ^ strCoBrandedArgs, int iLangID, int iSecure, System::String ^ strNameSpace, int iKPP, int iUseSecureAuth);
public string LogoTag (string strReturnUrl, int iTimeWindow, int iForceLogin, string strCoBrandedArgs, int iLangID, int iSecure, string strNameSpace, int iKPP, int iUseSecureAuth);
member this.LogoTag : string * int * int * string * int * int * string * int * int -> string
Public Function LogoTag (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
LogoTag(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 ^ LogoTag(System::String ^ strReturnUrl, int iTimeWindow, bool fForceLogin, System::String ^ strCoBrandedArgs, int iLangID, bool fSecure, System::String ^ strNameSpace, int iKPP, bool bUseSecureAuth);
public string LogoTag (string strReturnUrl, int iTimeWindow, bool fForceLogin, string strCoBrandedArgs, int iLangID, bool fSecure, string strNameSpace, int iKPP, bool bUseSecureAuth);
member this.LogoTag : string * int * bool * string * int * bool * string * int * bool -> string
Public Function LogoTag (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
LogoTag()
Returns an HTML fragment containing an image tag for a Passport link. This class is deprecated.
public:
System::String ^ LogoTag();
public string LogoTag ();
member this.LogoTag : unit -> string
Public Function LogoTag () 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.LogoTag();
' 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.LogoTag()
Remarks
This class has been deprecated and is no longer supported. Microsoft Passport Network was replaced by Windows Live ID.
Applies to
LogoTag(String)
Returns an HTML fragment containing an HTML <img> tag for a Passport link. This class is deprecated.
public:
System::String ^ LogoTag(System::String ^ strReturnUrl);
public string LogoTag (string strReturnUrl);
member this.LogoTag : string -> string
Public Function LogoTag (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.