FormsAuthentication.LoginUrl Property
.NET Framework 2.0
Gets the URL for the login page that the FormsAuthentication class will redirect to.
Namespace: System.Web.Security
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
'Declaration Public Shared ReadOnly Property LoginUrl As String 'Usage Dim value As String value = FormsAuthentication.LoginUrl
/** @property */ public static String get_LoginUrl ()
public static function get LoginUrl () : String
Not applicable.
Property Value
The URL for the login page that the FormsAuthentication class will redirect to. The default is "login.aspx."The LoginUrl property value is set in the configuration file for an ASP.NET application by using the loginUrl attribute of the forms configuration element. The LoginUrl is used by the RedirectToLoginPage method.
Community Additions
ADD
Show: