The Programming Programmer
Monday, 4 July 2011
Respecting windows UAC while using LsaOpenPolicy
Please use POLICY_VIEW_LOCAL_INFORMATION = 1;
so your code will become
LsaOpenPolicy(SystemName, ref LSA_OBJECT_ATTRIBUTES,
(int)
POLICY_VIEW_LOCAL_INFORMATION
, out IntPtr)
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment