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

Tagged as

Go to top

LogonUser method and the administrative privilegies

, 11 Aug 2011
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
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 | Mobile
Web04 | 2.8.140916.1 | Last Updated 11 Aug 2011
Article Copyright 2011 by diialer
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid