Hi guys.
I am really stuck and need some help big time.
I have this line of code in my project
user.Properties("userAccountControl").Value = ADS_USER_FLAG.ADS_UF_NORMAL_ACCOUNT Or ADS_USER_FLAG.ADS_UF_PASSWD_NOTREQD Or ADS_USER_FLAG.ADS_UF_PASSWORD_EXPIRED
What i am trying to set is that "User Must Change Password At Next Logon" property when i create my user account.
Can anyone help i just cant get it to put that value in.
Thanks in advance
I am really stuck and need some help big time.
I have this line of code in my project
user.Properties("userAccountControl").Value = ADS_USER_FLAG.ADS_UF_NORMAL_ACCOUNT Or ADS_USER_FLAG.ADS_UF_PASSWD_NOTREQD Or ADS_USER_FLAG.ADS_UF_PASSWORD_EXPIRED
What i am trying to set is that "User Must Change Password At Next Logon" property when i create my user account.
Can anyone help i just cant get it to put that value in.
Thanks in advance