public enum UserAccountControlFlag extends Enum<UserAccountControlFlag>
Enum Constant and Description |
---|
ACCOUNTDISABLE
The user account is disabled.
|
DONT_EXPIRE_PASSWORD
Represents the password, which should never expire on the account.
|
DONT_REQ_PREAUTH
(Windows 2000/Windows Server 2003) This account does not require Kerberos pre-authentication for logging on.
|
ENCRYPTED_TEXT_PWD_ALLOWED
The user can send an encrypted password.
|
HOMEDIR_REQUIRED
The home folder is required.
|
INTERDOMAIN_TRUST_ACCOUNT
This is a permit to trust an account for a system domain that trusts other domains.
|
LOCKOUT
The user account is locked.
|
MNS_LOGON_ACCOUNT
This is an MNS logon account.
|
NORMAL_ACCOUNT
This is a default account type that represents a typical user.
|
NOT_DELEGATED
When this flag is set, the security context of the user is not delegated to a service even if the service account is set as trusted for Kerberos delegation.
|
PARTIAL_SECRETS_ACCOUNT
(Windows Server 2008/Windows Server 2008 R2) The account is a read-only domain controller (RODC).
|
PASSWD_CANT_CHANGE
The user cannot change the password.
|
PASSWD_NOTREQD
No password is required.
|
PASSWORD_EXPIRED
(Windows 2000/Windows Server 2003) The user's password has expired.
|
SCRIPT
The logon script will be run.
|
SERVER_TRUST_ACCOUNT
This is a computer account for a domain controller that is a member of this domain.
|
SMARTCARD_REQUIRED
When this flag is set, it forces the user to log on by using a smart card.
|
TEMP_DUPLICATE_ACCOUNT
This is an account for users whose primary account is in another domain.
|
TRUSTED_FOR_DELEGATION
When this flag is set, the service account (the user or computer account) under which a service runs is trusted for Kerberos delegation.
|
TRUSTED_TO_AUTH_FOR_DELEGATION
(Windows 2000/Windows Server 2003) The account is enabled for delegation.
|
USE_DES_KEY_ONLY
(Windows 2000/Windows Server 2003) Restrict this principal to use only Data Encryption Standard (DES) encryption types for keys.
|
WORKSTATION_TRUST_ACCOUNT
This is a computer account for a computer that is running Microsoft Windows NT 4.0 Workstation, Microsoft Windows NT 4.0 Server, Microsoft Windows 2000 Professional, or Windows 2000 Server and is a member of this domain.
|
Modifier and Type | Method and Description |
---|---|
static EnumSet<UserAccountControlFlag> |
fromBitFlags(int inValue) |
int |
intValue() |
static UserAccountControlFlag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UserAccountControlFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserAccountControlFlag SCRIPT
public static final UserAccountControlFlag ACCOUNTDISABLE
public static final UserAccountControlFlag HOMEDIR_REQUIRED
public static final UserAccountControlFlag LOCKOUT
public static final UserAccountControlFlag PASSWD_NOTREQD
public static final UserAccountControlFlag PASSWD_CANT_CHANGE
public static final UserAccountControlFlag ENCRYPTED_TEXT_PWD_ALLOWED
public static final UserAccountControlFlag TEMP_DUPLICATE_ACCOUNT
public static final UserAccountControlFlag NORMAL_ACCOUNT
public static final UserAccountControlFlag INTERDOMAIN_TRUST_ACCOUNT
public static final UserAccountControlFlag WORKSTATION_TRUST_ACCOUNT
public static final UserAccountControlFlag SERVER_TRUST_ACCOUNT
public static final UserAccountControlFlag DONT_EXPIRE_PASSWORD
public static final UserAccountControlFlag MNS_LOGON_ACCOUNT
public static final UserAccountControlFlag SMARTCARD_REQUIRED
public static final UserAccountControlFlag TRUSTED_FOR_DELEGATION
public static final UserAccountControlFlag NOT_DELEGATED
public static final UserAccountControlFlag USE_DES_KEY_ONLY
public static final UserAccountControlFlag DONT_REQ_PREAUTH
public static final UserAccountControlFlag PASSWORD_EXPIRED
public static final UserAccountControlFlag TRUSTED_TO_AUTH_FOR_DELEGATION
public static final UserAccountControlFlag PARTIAL_SECRETS_ACCOUNT
public static UserAccountControlFlag[] values()
for (UserAccountControlFlag c : UserAccountControlFlag.values()) System.out.println(c);
public static UserAccountControlFlag valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int intValue()
public static EnumSet<UserAccountControlFlag> fromBitFlags(int inValue)
jataylor@hairyfatguy.com