Gets the login URL.
Namespace: DotNetNuke.CommonAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
| C# |
|---|
public static string LoginURL( string returnUrl, bool overrideSetting ) |
| Visual Basic |
|---|
Public Shared Function LoginURL ( returnUrl As String, overrideSetting As Boolean ) 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.