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.

31 lines
719 B

  1. #ifndef _RIGHTS_H_
  2. #define _RIGHTS_H_
  3. #define USE_USER_RIGHTS()\
  4. LPTSTR g_pstrRightsFor_IUSR[]=\
  5. {\
  6. _T("SeInteractiveLogonRight"),\
  7. _T("SeBatchLogonRight")\
  8. };\
  9. LPTSTR g_pstrRightsFor_IWAM[]=\
  10. {\
  11. _T("SeNetworkLogonRight"),\
  12. _T("SeBatchLogonRight"),\
  13. _T("SeAssignPrimaryTokenPrivilege"),\
  14. _T("SeIncreaseQuotaPrivilege")\
  15. };\
  16. LPTSTR g_pstrRightsFor_AnyUserRemoval[]=\
  17. {\
  18. _T("SeInteractiveLogonRight"),\
  19. _T("SeNetworkLogonRight"),\
  20. _T("SeBatchLogonRight"),\
  21. _T("SeAssignPrimaryTokenPrivilege"),\
  22. _T("SeIncreaseQuotaPrivilege")\
  23. };\
  24. LPTSTR g_pstrRightsFor_IIS_WPG[]=\
  25. {\
  26. _T("SeBatchLogonRight"),\
  27. _T("SeImpersonatePrivilege")\
  28. };\
  29. #endif