This documentation is archived and is not being maintained.

PassportIdentity.AuthUrl Method (String, Int32, Boolean, String, Int32, String, Int32, Boolean)

Returns the authentication server URL for a member.

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

public string AuthUrl (
	string strReturnUrl,
	int iTimeWindow,
	bool fForceLogin,
	string strCoBrandedArgs,
	int iLangID,
	string strNameSpace,
	int iKPP,
	bool bUseSecureAuth
)
public String AuthUrl (
	String strReturnUrl, 
	int iTimeWindow, 
	boolean fForceLogin, 
	String strCoBrandedArgs, 
	int iLangID, 
	String strNameSpace, 
	int iKPP, 
	boolean bUseSecureAuth
)
public function AuthUrl (
	strReturnUrl : String, 
	iTimeWindow : int, 
	fForceLogin : boolean, 
	strCoBrandedArgs : String, 
	iLangID : int, 
	strNameSpace : String, 
	iKPP : int, 
	bUseSecureAuth : boolean
) : String
Not applicable.

Parameters

strReturnUrl

Sets the URL of the location that the Login server should redirect to after logon is complete. 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 will be used. Pass -1 to indicate that Passport should use the default value.

strCoBrandedArgs

Specifies variables to be appended to the URL of the Cobranding Template script page that was specified at initial participant registration. Pass a null reference (Nothing in Visual Basic) to indicate that Passport should use the default value.

iLangID

Specifies the language in which the required domain authority page should be displayed. 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

The Login server URL for a member, as well as the optional information sent to the Login server in the query string.

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

NoteNote:

AuthUrl2 is preferred over AuthUrl.

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
Show: