首页 > 代码库 > 编程添加"作为服务登录”权利(包括例子和API)

编程添加"作为服务登录”权利(包括例子和API)

搜索"log on as a service programmatically" 

https://msdn.microsoft.com/en-us/library/windows/desktop/ms721863.aspx

http://www.codeproject.com/Articles/4863/LSA-Functions-Privileges-and-Impersonation

http://stackoverflow.com/questions/19868950/how-to-grant-a-user-log-on-as-a-service-rights-programmatically

 

http://www.numberworld.org/y-cruncher/guides/enable_permissions.cpp

API:

https://msdn.microsoft.com/en-us/library/windows/desktop/ms721786(v=vs.85).aspx
https://msdn.microsoft.com/en-us/library/windows/desktop/ms721603(v=vs.85).aspx#_security_privilege_gly

编程添加"作为服务登录”权利(包括例子和API)