Avoid Logoff/Logon after NetUserChangePassword

From: Sergey Merzlikin (smsoft_at_chat.ru)
Date: 10/26/03

  • Next message: Ohaya: "Re: Does deleting a certificate cause private key deletion?"
    Date: Sun, 26 Oct 2003 23:30:55 +0300
    
    

    Hello!

    My program uses NetUserChangePassword API to synchronously change user
    password on local computer and on network server in peer-to-peer network
    (both XP Prof). This works, but after this procedure the user must log off
    and log on again with new password to continue access network server. I
    think, NetUserChangePassword doesn't update current login session with new
    password. The question is, how can it be done programmatically? This must
    work from NT4 to 2003.

    Thanks,
    Sergey Merzlikin
    http://www.smsoft.ru


  • Next message: Ohaya: "Re: Does deleting a certificate cause private key deletion?"
  • Quantcast