Retrieving Password expiration info

M

Manoj G [MVP]

Hi,

I have a scenario wherein my app ( a service) needs to query the local user
account database, check if any user's password expires within the next X
days (say 1 Week) and if it does, be able to get the user details and the
the no of the days remaining b4 the passwords expire.
Is there way to get the password expiration information somehow? Thus far,
I have come across samples which just gives out user account information
(like Passwords expire (boolean), basically querying Win32_UserAccount thru
WMI) etc. I would need more information here.

TIA,
Manoj G
 
T

Torgeir Bakken \(MVP\)

Hi

Please see my response to your post "Obtaining password
expiration information programmatically" in the
microsoft.public.win32.programmer.wmi group.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top