Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Tagged as

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...



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


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


About the Author


Russian Federation Russian Federation
No Biography provided

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