The WinNT provider supplies the following custom properties with its ADSI implementation.
ADSI Schema Class | Custom Property | ADsType |
---|---|---|
User | UserFlags | Integer 0x0001 UF_SCRIPT 0x0002 UF_ACCOUNTDISABLE 0x0008 UF_HOMEDIR_REQUIRED 0x0010 UF_LOCKOUT 0x0020 UF_PASSWD_NOTREQD 0x0040 UF_PASSWD_CANT_CHANGE 0x0100 UF_TEMP_DUPLICATE_ACCOUNT 0X0200 UF_NORMAL_ACCOUNT 0X0800 UF_INTERDOMAIN_TRUST_ACCOUNT 0X1000 UF_WORKSTATION_TRUST_ACCOUNT 0X2000 UF_SERVER_TRUST_ACCOUNT 0x10000 UF_DONT_EXPIRE_PASSWD 0X20000 UF_MNS_LOGON_ACCOUNT #define UF_SETTABLE_BITS ( UF_SCRIPT | UF_ACCOUNTDISABLE | UF_LOCKOUT | UF_HOMEDIR_REQUIRED | UF_PASSWD_NOTREQD | UF_PASSWD_CANT_CHANGE | UF_ACCOUNT_TYPE_MASK | UF_DONT_EXPIRE_PASSWD | UF_MNS_LOGON_ACCOUNT)
These are defined in LMACCESS.H. |
User | AccountDisabled | Boolean |
User | PasswordAge | Time |
User | PasswordExpired | Time |
You access custom properties through the IADs::Get and IADs::Put methods.