
WSH & ADSI and userflags!
These are the user flags...
+ Indicates that the bit can be set
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_ACCOUNT0X
0200 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 +
Regards,
Ian Morrish
http://wsh.glazier.co.nz WSHFAQ
http://ils.glazier.co.nz (NetMeeting)
http://www.glazier.co.nz
Quote:
>How can you use the userflags in wsh ? and is there any way to clear
>the box "User must change his password..." in usermanger throw the
>adsi ?
>/lgs