User Must Change Password At Next Logon LDAP Flag

  • Thread starter Thread starter Ram
  • Start date Start date
R

Ram

Hey,
I'v managed to set the "User Must Change Password At Next Logon" flag on the
LDAP protocol,
Using the - "pwdLastSet" property - by setting it to - "0" (for on) or -
"-1" (for off).
The problem is, I dont know how to check what's the current status of this
user -
When I try and read this property from the user's DirectoryEntry,
I get a "System.ComObject" object, and I cant get any data from this object.
Does Anyone has an idea what object is this, or how can I get this value
otherwise?
Thanks ahead

--Ram
 
¤ Hey,
¤ I'v managed to set the "User Must Change Password At Next Logon" flag on the
¤ LDAP protocol,
¤ Using the - "pwdLastSet" property - by setting it to - "0" (for on) or -
¤ "-1" (for off).
¤ The problem is, I dont know how to check what's the current status of this
¤ user -
¤ When I try and read this property from the user's DirectoryEntry,
¤ I get a "System.ComObject" object, and I cant get any data from this object.
¤ Does Anyone has an idea what object is this, or how can I get this value
¤ otherwise?
¤ Thanks ahead

Try checking the PasswordExpired property using the WinNT provider instead of LDAP.


Paul ~~~ (e-mail address removed)
Microsoft MVP (Visual Basic)
 
Back
Top