Avoid Logoff/Logon after NetUserChangePassword
From: Sergey Merzlikin (smsoft_at_chat.ru)
Date: 10/26/03
- Previous message: Guy Puzzled: "Random (?) NTE_KEYSET_NOT_DEF Error"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
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
- Previous message: Guy Puzzled: "Random (?) NTE_KEYSET_NOT_DEF Error"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]