c# Programming Glossary: token_adjust_privileges
Process.Start with different credentials with UAC on http://stackoverflow.com/questions/2313553/process-start-with-different-credentials-with-uac-on 0x0008 const Int32 TOKEN_QUERY_SOURCE 0x0010 const Int32 TOKEN_ADJUST_PRIVILEGES 0x0020 const Int32 TOKEN_ADJUST_GROUPS 0x0040 const Int32 TOKEN_ADJUST_DEFAULT.. TOKEN_IMPERSONATE TOKEN_QUERY TOKEN_QUERY_SOURCE TOKEN_ADJUST_PRIVILEGES TOKEN_ADJUST_GROUPS TOKEN_ADJUST_DEFAULT const Int32 TOKEN_ALL_ACCESS.. const Int32 TOKEN_WRITE STANDARD_RIGHTS_WRITE TOKEN_ADJUST_PRIVILEGES TOKEN_ADJUST_GROUPS TOKEN_ADJUST_DEFAULT const Int32 TOKEN_EXECUTE..
Using Process.Start() to start a process as a different user from within a Windows Service http://stackoverflow.com/questions/362419/using-process-start-to-start-a-process-as-a-different-user-from-within-a-windo SE_PRIVILEGE_ENABLED 0x00000002 static internal const int TOKEN_ADJUST_PRIVILEGES 0x00000020 internal const int TOKEN_QUERY 0x00000008 internal..
Set System Time Zone from .NET http://stackoverflow.com/questions/808736/set-system-time-zone-from-net SE_TIME_ZONE_NAME SeTimeZonePrivilege public const int TOKEN_ADJUST_PRIVILEGES 0x00000020 public const int TOKEN_QUERY 0x00000008 public const.. IntPtr token int retval OpenProcessToken GetCurrentProcess TOKEN_ADJUST_PRIVILEGES TOKEN_QUERY out token Assert.IsTrue retval 0 String.Format OpenProcessToken..
|