Package sk.ipesoft.d2000.d2japi
Enum UserAccountDisabledReason
- java.lang.Object
-
- java.lang.Enum<UserAccountDisabledReason>
-
- sk.ipesoft.d2000.d2japi.UserAccountDisabledReason
-
public enum UserAccountDisabledReason extends java.lang.Enum<UserAccountDisabledReason>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description disabledByConfiguration
Account has been locked permanently by configuration.lockedForTimeoutPeriodNow
Allowed number of invalid logon attempts has been exceeded by this attempt and the account has been locked for timeout period.previouslyLockedForTimeoutPeriod
Account has been locked for timeout period prior this logon attempt because allowed number of invalid logon attempts has been exceeded.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UserAccountDisabledReason
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static UserAccountDisabledReason[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
disabledByConfiguration
public static final UserAccountDisabledReason disabledByConfiguration
Account has been locked permanently by configuration.
-
previouslyLockedForTimeoutPeriod
public static final UserAccountDisabledReason previouslyLockedForTimeoutPeriod
Account has been locked for timeout period prior this logon attempt because allowed number of invalid logon attempts has been exceeded.
-
lockedForTimeoutPeriodNow
public static final UserAccountDisabledReason lockedForTimeoutPeriodNow
Allowed number of invalid logon attempts has been exceeded by this attempt and the account has been locked for timeout period.
-
-
Method Detail
-
values
public static UserAccountDisabledReason[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (UserAccountDisabledReason c : UserAccountDisabledReason.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UserAccountDisabledReason valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-