Gets the login URL.

Namespace: DotNetNuke.Common
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public static string LoginURL(
	string returnUrl,
	bool overrideSetting,
	PortalSettings portalSettings
)
Visual Basic
Public Shared Function LoginURL ( 
	returnUrl As String,
	overrideSetting As Boolean,
	portalSettings As PortalSettings
) As String

Parameters

returnUrl
Type: System..::..String
The URL to redirect to after logging in.
overrideSetting
Type: System..::..Boolean
if set to true, show the login control on the current page, even if there is a login page defined for the site.
portalSettings
Type: DotNetNuke.Entities.Portals..::..PortalSettings
The Portal Settings.

Return Value

Formatted URL.

See Also