WebEventCodes.AuditFormsAuthenticationFailure Field


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Represents the event code indicating a form authentication failure occurred during a Web request. This field is constant.

Namespace:   System.Web.Management
Assembly:  System.Web (in System.Web.dll)

public const int AuditFormsAuthenticationFailure

Field Value

Type: System.Int32

AuditFormsAuthenticationFailure is the major code for the health event related to user's authentication failure. When this event happens, ASP.NET raises a WebAuthenticationFailureAuditEvent with a major code of AuditFormsAuthenticationFailure.

.NET Framework
Available since 2.0
Return to top