开发者

how to find guest account is enable or not

开发者 https://www.devze.com 2023-03-12 23:24 出处:网络
When I use registry key to get it always return error c开发者_JAVA技巧ode=5 means ,access denied

When I use registry key to get it always return error c开发者_JAVA技巧ode=5 means ,access denied

how to decide that the guest account on the system Windows 7 is enabled or disabled using C++

thanks


Use NetUserGetInfo with level 1 and check if USER_INFO_1.usri1_flags contains the UF_ACCOUNTDISABLE bit.

0

精彩评论

暂无评论...
验证码 换一张
取 消