Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
1.0 KiB

  1. #include "stock.h"
  2. #pragma hdrstop
  3. #ifdef WINNT
  4. //
  5. // common SHELL_USER_SID's (needed for GetShellSecurityDescriptor)
  6. //
  7. const SHELL_USER_SID susCurrentUser = {0, 0, 0}; // the current user
  8. const SHELL_USER_SID susSystem = {SECURITY_NT_AUTHORITY, SECURITY_LOCAL_SYSTEM_RID, 0}; // the "SYSTEM" group
  9. const SHELL_USER_SID susAdministrators = {SECURITY_NT_AUTHORITY, SECURITY_BUILTIN_DOMAIN_RID, DOMAIN_ALIAS_RID_ADMINS}; // the "Administrators" group
  10. const SHELL_USER_SID susPowerUsers = {SECURITY_NT_AUTHORITY, SECURITY_BUILTIN_DOMAIN_RID, DOMAIN_ALIAS_RID_POWER_USERS}; // the "Power Users" group
  11. const SHELL_USER_SID susGuests = {SECURITY_NT_AUTHORITY, SECURITY_BUILTIN_DOMAIN_RID, DOMAIN_ALIAS_RID_GUESTS}; // the "Guests" group
  12. const SHELL_USER_SID susEveryone = {SECURITY_WORLD_SID_AUTHORITY, SECURITY_WORLD_RID, 0}; // the "Everyone" group
  13. #endif // WINNT