Partager via


2.2.1.13 UF_FLAG Codes

These values are attributes of a user account, as expressed at the data model level (see section 3.1.1 for the data model). Unless otherwise specified in the table, see section 3.1.5.14.2 to map these values to USER_ACCOUNT values, and then see section 2.2.1.12 for a description.

Constant/value

Description

UF_SCRIPT

0x00000001

This bit is ignored by clients and servers.

UF_ACCOUNTDISABLE

0x00000002

See description in introductory paragraph.

UF_HOMEDIR_REQUIRED

0x00000008

See description in introductory paragraph.

UF_LOCKOUT

0x00000010

See description in introductory paragraph.

UF_PASSWD_NOTREQD

0x00000020

See description in introductory paragraph.

UF_PASSWD_CANT_CHANGE

0x00000040

This bit is ignored by clients and servers.

UF_ENCRYPTED_TEXT_PASSWORD_ALLOWED

0x00000080

See description in introductory paragraph.

UF_TEMP_DUPLICATE_ACCOUNT

0x00000100

See description in introductory paragraph.

UF_NORMAL_ACCOUNT

0x00000200

See description in introductory paragraph.

UF_INTERDOMAIN_TRUST_ACCOUNT

0x00000800

See description in introductory paragraph.

UF_WORKSTATION_TRUST_ACCOUNT

0x00001000

See description in introductory paragraph.

UF_SERVER_TRUST_ACCOUNT

0x00002000

See description in introductory paragraph.

UF_DONT_EXPIRE_PASSWD

0x00010000

See description in introductory paragraph.

UF_MNS_LOGON_ACCOUNT

0x00020000

See description in introductory paragraph.

UF_SMARTCARD_REQUIRED

0x00040000

See description in introductory paragraph.

UF_TRUSTED_FOR_DELEGATION

0x00080000

See description in introductory paragraph.

UF_NOT_DELEGATED

0x00100000

See description in introductory paragraph.

UF_USE_DES_KEY_ONLY

0x00200000

See description in introductory paragraph.

UF_DONT_REQUIRE_PREAUTH

0x00400000

See description in introductory paragraph.

UF_PASSWORD_EXPIRED

0x00800000

See description in introductory paragraph.

UF_TRUSTED_TO_AUTHENTICATE_FOR_DELEGATION

0x01000000

See description in introductory paragraph.

UF_NO_AUTH_DATA_REQUIRED

0x02000000

See description in introductory paragraph.

UF_PARTIAL_SECRETS_ACCOUNT

0x04000000

See description in introductory paragraph.

UF_USE_AES_KEYS

0x08000000

See description in introductory paragraph.