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.
 
 
 
 
 
 

32 lines
719 B

#ifndef _RIGHTS_H_
#define _RIGHTS_H_
#define USE_USER_RIGHTS()\
LPTSTR g_pstrRightsFor_IUSR[]=\
{\
_T("SeInteractiveLogonRight"),\
_T("SeBatchLogonRight")\
};\
LPTSTR g_pstrRightsFor_IWAM[]=\
{\
_T("SeNetworkLogonRight"),\
_T("SeBatchLogonRight"),\
_T("SeAssignPrimaryTokenPrivilege"),\
_T("SeIncreaseQuotaPrivilege")\
};\
LPTSTR g_pstrRightsFor_AnyUserRemoval[]=\
{\
_T("SeInteractiveLogonRight"),\
_T("SeNetworkLogonRight"),\
_T("SeBatchLogonRight"),\
_T("SeAssignPrimaryTokenPrivilege"),\
_T("SeIncreaseQuotaPrivilege")\
};\
LPTSTR g_pstrRightsFor_IIS_WPG[]=\
{\
_T("SeBatchLogonRight"),\
_T("SeImpersonatePrivilege")\
};\
#endif