question

JeremyZhu avatar image
0 Votes"
JeremyZhu asked XiaopoYang-MSFT edited

Windows API to set requirement of sign-in when you've been away from PC

Hi,
I have a question about the following setting in Windows 10:
Start → Settings → Accounts → Sign-in options
108387-sign-in.png

I want to get/set this value from Win32 API or .net framework API in a desktop application.
Would you please give me some suggestions for it?


windows-api
sign-in.png (7.9 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

XiaopoYang-MSFT avatar image
0 Votes"
XiaopoYang-MSFT answered XiaopoYang-MSFT edited

You can refer to the answer of Programmatically get Windows Setting | Account Setting | Require Sign In Question.



5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.