Loading ...
Sorry, an error occurred while loading the content.

Get Audit policy of a window account

Expand Messages
  • beniwal01
    i use WinNT provider to get audit policy like MinPasswordAge MaxPasswordAge etc iget them Sucessfully but when i Put them i got error please tell me
    Message 1 of 1 , Oct 8, 2012
    • 0 Attachment
      i use WinNT provider to get audit policy like

      MinPasswordAge
      MaxPasswordAge etc

      iget them Sucessfully but when i Put them i got error
      please tell me

      hr=Puser->Get(L"MinPasswordAge",&Var);

      it give value right
      but when i use
      hr=Puser->Put(L"MinPasswordAge",Var);
      it show error

      please tell me how can i edit audit policy (password policy )
      get and put both i m using c++.

      thanks
      vipin
    Your message has been successfully submitted and would be delivered to recipients shortly.