PassportIdentity.LogoTag Method (String, Int32, Int32, String, Int32, Int32, String, Int32, Int32)

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

Namespace: System.Web.Security
Assembly: System.Web (in system.web.dll)

public:
String^ LogoTag (
	String^ strReturnUrl, 
	int iTimeWindow, 
	int iForceLogin, 
	String^ strCoBrandedArgs, 
	int iLangID, 
	int iSecure, 
	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
)
public function LogoTag (
	strReturnUrl : String, 
	iTimeWindow : int, 
	iForceLogin : int, 
	strCoBrandedArgs : String, 
	iLangID : int, 
	iSecure : int, 
	strNameSpace : String, 
	iKPP : int, 
	iUseSecureAuth : int
) : String
Not applicable.

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.

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 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.

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 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.

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.

Return Value

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

For additional details on the parameters for this method, see IPassportManager.LogoTag in the Passport SDK documentation, available in the MSDN Library at http://msdn.microsoft.com/library.

The link image displays either Sign In if no valid ticket cookie is detected, or Sign Out if a valid cookie ticket is detected. For more details, see IPassportManager.LogoTag2 in the Passport SDK documentation.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

ADD
Show: