Retrieving Password expiration info

  • Thread starter Thread starter Manoj G [MVP]
  • Start date Start date
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
 
Hi

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