Sitecore 5.1.1 API

Settings.LoginPage Property

Gets the path to the page to use for logging in (to extranet)

[Visual Basic]
Public Shared ReadOnly Property LoginPage As String
[C#]
public static string LoginPage {get;}

Property Value

Default value: [an empty string]

Remarks

If the web site is protected (see ProtectedSite), the layout specified by this setting will be shown, when an unauthorised person tries to view the site.

If no LoginPage is specified, the user will be redirected to an error page.

See Also

Settings Class | Sitecore.Configuration Namespace