469,649 Members | 1,709 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,649 developers. It's quick & easy.

User Must Change Password At Next Logon LDAP Flag

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
Nov 20 '05 #1
1 6238
On Mon, 5 Jul 2004 11:51:30 +0200, "Ram" <ni***@bezeqint.net> wrote:

¤ 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 ~~~ pc******@ameritech.net
Microsoft MVP (Visual Basic)
Nov 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

9 posts views Thread by webrod | last post: by
1 post views Thread by Carlettus | last post: by
3 posts views Thread by =?Utf-8?B?QXhlbCBEYWhtZW4=?= | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.