how to read the value of "Maximum password age" of a local securit

  • Thread starter Ricardo Quintanilla
  • Start date
R

Ricardo Quintanilla

I have an Adam (active directory application mode) instance on windows server
2003, and the server does not belong to a domain, i mean it is a standalone
server.
So in this context the policies for passwords are administered by using
"Local Security Settings" console and inside it with "Account
Policies\Password Policy".

What i need to do, is to read the value of "Maximum password age" by using
c# code. I need to read the value of "Maximum password age" of a local
security setting, not a domain setting.

¿how can i do that?

¿how can i read that value by using c#?

thanks for any help
 

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