asp.net.ph

System.Web.Security Namespace   PassportIdentity Class


Returns an HTML fragment containing an HTML <img> tag for a Passport link.

[ VB ]
Overloads 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

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

[ C++ ]
public: String* LogoTag (
   String* strReturnUrl,
   int iTimeWindow,
   bool fForceLogin,
   String* strCoBrandedArgs,
   int iLangID,
   bool fSecure,
   String* strNameSpace,
   int iKPP,
   bool bUseSecureAuth
);

[ JScript ]
public function LogoTag (
   strReturnUrl : String,
   iTimeWindow : int,
   fForceLogin : Boolean,
   strCoBrandedArgs : String,
   iLangID : int,
   fSecure : Boolean,
   strNameSpace : String,
   iKPP : int,
   bUseSecureAuth : Boolean
 ) : String;

Parameters

strReturnUrl
Sets the URL of the location to which the Login server should redirect members after they log on. Pass a null reference ( Nothing in Visual Basic ) 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.
fForceLogin
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 a null reference ( Nothing in Visual Basic ) 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.
fSecure
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 a null reference ( Nothing in Visual Basic ) 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.
bUseSecureAuth
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.

Return Value

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

Remarks

For additional details on the parameters for this method, see IPassportManager.LogoTag in the Passport SDK documentation, available in the MSDN Library.

The tag returned is based on the current state of the identity.

NOTE: LogoTag2 is preferred over LogoTag.

See Also

PassportIdentity Members   PassportIdentity.LogoTag Overload List Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph