Click here to Skip to main content
12,630,967 members (32,664 online)
Click here to Skip to main content

Tagged as

Stats

0 views
Posted

LogonUser method and the administrative privilegies

, 11 Aug 2011 CPOL
Is it for local Users or in a Windows-Domain?May you just use the administrator for executing some methods?private bool doSomeThingWithAdministrativePrivilegs() { IntPtr token; if (!NativeMethods.LogonUser( , //Administrator or...

Revisions


  

Compare Revision Minor Date Status Editor
2 - publicly available Yes 10-Aug-11 23:15 Available diialer
1 No 10-Aug-11 23:11 Available diialer

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

diialer
Russian Federation Russian Federation
No Biography provided

You may also be interested in...

Pro
| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.161205.3 | Last Updated 11 Aug 2011
Article Copyright 2011 by diialer
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid