AuthenticationException Properties |
The AuthenticationException type exposes the following members.
Name | Description | |
---|---|---|
AccountDisabled |
Specifies whether or not the account is disabled (either as a result of the latest login failure
or previously).
| |
Data | Gets a collection of key/value pairs that provide additional user-defined information about the exception. (Inherited from Exception.) | |
DeveloperMessage |
Gets/sets any developer-specific message content.
| |
DoNotLogToRequestLog |
Specifies that this exception does not need to be logged to xot_request_log. Note that it DOES NOT prevent the
error from being logged as part of normal request logging. It DOES, however, prevent special logging of continuable
errors that occur in the middle of a request. The primary example of this is a custom validation error raised during
a WizardNext event.
See DoNotLogToRequestLog.
| |
FailedLogins |
Gets/sets the number of failed login attempts. If MaxFailedLogins is positive then
the user account is locked once that attempt threshold has been exceeded.
Normally this is the value obtained from the failed_logins column in the users table
(or the override for that table as specified in the application's
AuthenticationView property).
A value of -1 indicates that the number of failed logins has not been determined.
| |
FailureType |
Gets/sets the type of authentication failure.
| |
HelpLink | Gets or sets a link to the help file associated with this exception. (Inherited from Exception.) | |
HResult | Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception. (Inherited from Exception.) | |
InnerException | Gets the Exception instance that caused the current exception. (Inherited from Exception.) | |
IsSensitive |
Specifies whether this exception, or any of its inner exceptions, may contain sensitive information that should be suppressed
when when UnhandledErrorSuppressions is enabled.
See IsSensitive.
| |
MaxFailedLogins |
Gets/sets the maximum number of failed login attempts allowed before the user account is locked.
Ignored if zero or negative. Normally this value is obtained from the application's
MaxFailedLogins property.
| |
Message | Gets a message that describes the current exception. (Inherited from Exception.) | |
Source | Gets or sets the name of the application or the object that causes the error. (Inherited from Exception.) | |
StackTrace | Gets a string representation of the immediate frames on the call stack. (Inherited from Exception.) | |
SuppressInner |
Specifies whether or not any inner exceptions should be suppressed when generating a non-developer user error message.
See SuppressInner.
| |
TargetSite | Gets the method that throws the current exception. (Inherited from Exception.) |