Source code of Windows XP (NT5)
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.

156 lines
6.1 KiB

  1. /**********************************************************************/
  2. /** Microsoft LAN Manager **/
  3. /** Copyright(c) Microsoft Corp., 1991 **/
  4. /**********************************************************************/
  5. /*
  6. PermStr.hxx
  7. This file contains the string IDs for the resource strings required by
  8. the security editor.
  9. FILE HISTORY:
  10. Johnl 13-Aug-1991 Created
  11. */
  12. #ifndef _PERMSTR_HXX_
  13. #define _PERMSTR_HXX_
  14. #include <uimsg.h>
  15. #define BMID_SECURITY_TOOLBAR 3005
  16. /* LM General permission string IDs
  17. */
  18. #define IDS_LM_PERMSTRING_NAMES_BASE IDS_UI_ACLEDIT_BASE
  19. #define IDS_GEN_LM_ACCESSNAME_DENY_ALL (IDS_LM_PERMSTRING_NAMES_BASE+1)
  20. #define IDS_GEN_LM_ACCESSNAME_SEE_USE (IDS_LM_PERMSTRING_NAMES_BASE+2)
  21. #define IDS_GEN_LM_ACCESSNAME_CHANGES (IDS_LM_PERMSTRING_NAMES_BASE+3)
  22. #define IDS_GEN_LM_ACCESSNAME_FULL (IDS_LM_PERMSTRING_NAMES_BASE+4)
  23. /* LM Special permission string IDs
  24. */
  25. #define IDS_LM_ACCESSNAME_READ (IDS_LM_PERMSTRING_NAMES_BASE+5)
  26. #define IDS_LM_ACCESSNAME_WRITE (IDS_LM_PERMSTRING_NAMES_BASE+6)
  27. #define IDS_LM_ACCESSNAME_CREATE (IDS_LM_PERMSTRING_NAMES_BASE+7)
  28. #define IDS_LM_ACCESSNAME_EXEC (IDS_LM_PERMSTRING_NAMES_BASE+8)
  29. #define IDS_LM_ACCESSNAME_DELETE (IDS_LM_PERMSTRING_NAMES_BASE+9)
  30. #define IDS_LM_ACCESSNAME_ATRIB (IDS_LM_PERMSTRING_NAMES_BASE+10)
  31. #define IDS_LM_ACCESSNAME_PERM (IDS_LM_PERMSTRING_NAMES_BASE+11)
  32. /* LM Auditting string IDs
  33. * Note: Create/Write is only used for directories, Write is only used for files.
  34. */
  35. #define IDS_LM_AUDIT_NAME_OPEN (IDS_LM_PERMSTRING_NAMES_BASE+13)
  36. #define IDS_LM_AUDIT_NAME_WRITE (IDS_LM_PERMSTRING_NAMES_BASE+14)
  37. #define IDS_LM_AUDIT_NAME_CREATE_WRITE (IDS_LM_PERMSTRING_NAMES_BASE+16)
  38. #define IDS_LM_AUDIT_NAME_DELETE (IDS_LM_PERMSTRING_NAMES_BASE+17)
  39. #define IDS_LM_AUDIT_NAME_ACL (IDS_LM_PERMSTRING_NAMES_BASE+18)
  40. #define IDS_LM_NAME_LAST (IDS_LM_PERMSTRING_NAMES_BASE+40)
  41. /* String IDs required by the File/dir security editor
  42. */
  43. #define IDS_FB_SED_BASE IDS_LM_NAME_LAST
  44. #define IDS_FILE (IDS_FB_SED_BASE+1)
  45. #define IDS_DIRECTORY (IDS_FB_SED_BASE+2)
  46. #define IDS_FILE_MULTI_SEL (IDS_FB_SED_BASE+3)
  47. #define IDS_DIRECTORY_MULTI_SEL (IDS_FB_SED_BASE+4)
  48. #define IDS_OBJTYPE_OBJNAME_SEPARATOR (IDS_FB_SED_BASE+5)
  49. #define IDS_LM_FILE_PERMISSIONS_TITLE (IDS_FB_SED_BASE+6)
  50. #define IDS_LM_FILE_AUDITS_TITLE (IDS_FB_SED_BASE+7)
  51. #define IDS_LM_FILE_SPECIAL_ACCESS_NAME (IDS_FB_SED_BASE+8)
  52. #define IDS_LM_DIR_PERMISSIONS_TITLE (IDS_FB_SED_BASE+9)
  53. #define IDS_LM_DIR_AUDITS_TITLE (IDS_FB_SED_BASE+10)
  54. #define IDS_LM_DIR_ASSIGN_PERM_TITLE (IDS_FB_SED_BASE+11)
  55. #define IDS_LM_DIR_ASSIGN_AUDIT_TITLE (IDS_FB_SED_BASE+13)
  56. #define IDS_LM_DIR_SPECIAL_ACCESS_NAME (IDS_FB_SED_BASE+15)
  57. #define IDS_NT_ASSIGN_FILE_PERM_TITLE (IDS_FB_SED_BASE+20)
  58. #define IDS_NT_ASSIGN_FILE_AUDITS_TITLE (IDS_FB_SED_BASE+21)
  59. #define IDS_NT_OBJECT_PERMISSIONS_TITLE (IDS_FB_SED_BASE+22)
  60. #define IDS_NT_OBJECT_AUDITS_TITLE (IDS_FB_SED_BASE+23)
  61. #define IDS_NT_ASSIGN_PERM_TITLE (IDS_FB_SED_BASE+24)
  62. #define IDS_NT_ASSIGN_AUDITS_TITLE (IDS_FB_SED_BASE+26)
  63. #define IDS_NT_FILE_SPECIAL_ACCESS (IDS_FB_SED_BASE+28)
  64. #define IDS_NT_DIR_SPECIAL_ACCESS (IDS_FB_SED_BASE+29)
  65. #define IDS_NT_NEWOBJ_SPECIAL_ACCESS (IDS_FB_SED_BASE+30)
  66. #define IERR_MIXED_MULTI_SEL (IDS_FB_SED_BASE+31)
  67. #define IERR_MULTI_SELECT_AND_CANT_READ (IDS_FB_SED_BASE+32)
  68. /* Help file name
  69. */
  70. #define IDS_FILE_PERM_HELP_FILE (IDS_FB_SED_BASE+33)
  71. /* Title of the Add User/Group permission dialog
  72. */
  73. #define IDS_ADD_PERM_DIALOG_TITLE (IDS_FB_SED_BASE+35)
  74. /* The access name assigned to "Non-standard" permissions
  75. */
  76. #define IDS_GEN_ACCESSNAME_SPECIAL (IDS_FB_SED_BASE+40)
  77. #define IDS_TREE_APPLY_WARNING (IDS_FB_SED_BASE+41)
  78. #define IDS_NOT_SPECIFIED_MNEMONIC (IDS_FB_SED_BASE+42)
  79. #define IDS_NO_ACCESS_MNEMONIC (IDS_FB_SED_BASE+43)
  80. #define IDS_FULL_ACCESS_MNEMONIC (IDS_FB_SED_BASE+44)
  81. #define IDS_NOT_MAPPED_MNEMONIC (IDS_FB_SED_BASE+45)
  82. #define IDS_PERCENT_1 (IDS_FB_SED_BASE+46)
  83. #define IDS_CLOSE (IDS_FB_SED_BASE+47)
  84. #define IDS_DENY_ALL_EVERYONE_WARNING (IDS_FB_SED_BASE+48)
  85. #define IDS_CANCEL_TASK_APPLY_DLG_TITLE (IDS_FB_SED_BASE+49)
  86. #define IDS_CANCEL_TASK_ON_ERROR_MSG (IDS_FB_SED_BASE+50)
  87. #define IDS_CANT_FOCUS_ON_LOGGED_ON_DOMAIN (IDS_FB_SED_BASE+51)
  88. #define IDS_BAD_INTERSECTION (IDS_FB_SED_BASE+52)
  89. #define IDS_AUDIT_OFF_WARNING (IDS_FB_SED_BASE+53)
  90. #define IDS_NOT_MAPPED_WARNING (IDS_FB_SED_BASE+54)
  91. #define IDS_CANCEL_TASK_TRAV_ERROR_MSG (IDS_FB_SED_BASE+55)
  92. //
  93. // Status bar help text
  94. //
  95. #define IDS_FM_HELP_PERMISSION_MENU_ITEM (IDS_FB_SED_BASE+56)
  96. #define IDS_FM_HELP_AUDITING_MENU_ITEM (IDS_FB_SED_BASE+57)
  97. #define IDS_FM_HELP_OWNER_MENU_ITEM (IDS_FB_SED_BASE+58)
  98. #define IDS_FM_HELP_SECURITY_MENU (IDS_FB_SED_BASE+59)
  99. #define IDS_FB_SED_LAST (IDS_FB_SED_BASE+60)
  100. /* Take Ownership string IDs
  101. */
  102. #define IDS_TAKEOWNERSHIP_BASE (IDS_FB_SED_LAST+1)
  103. #define IDS_X_OBJECTS_SELECTED (IDS_TAKEOWNERSHIP_BASE+1)
  104. #define IDS_RESOURCE_TITLE (IDS_TAKEOWNERSHIP_BASE+2)
  105. #define IDS_NO_OWNER (IDS_TAKEOWNERSHIP_BASE+3)
  106. #define IDS_FILES_AND_DIRS (IDS_TAKEOWNERSHIP_BASE+4)
  107. #define IERR_OWNER_CANT_VIEW_CAN_EDIT (IDS_TAKEOWNERSHIP_BASE+5)
  108. #define IERR_OWNER_NOT_NTFS_VOLUME (IDS_TAKEOWNERSHIP_BASE+6)
  109. #define IERR_OWNER_SOME_FAILED (IDS_TAKEOWNERSHIP_BASE+7)
  110. #define IDS_OWNER_APPLY_TO_DIR_PROMPT (IDS_TAKEOWNERSHIP_BASE+8)
  111. #define IDS_OWNER_NUKE_DACL_WARNING (IDS_TAKEOWNERSHIP_BASE+9)
  112. #define IDS_OWNER_CANT_FIND_OWNR_OR_GRP (IDS_TAKEOWNERSHIP_BASE+10)
  113. #define IDS_OWNER_ACCOUNT_NOT_FOUND (IDS_TAKEOWNERSHIP_BASE+11)
  114. #define IDS_TAKEOWNERSHIP_LAST (IDS_TAKEOWNERSHIP_BASE+15)
  115. /* General purpose error message manifests
  116. */
  117. #define IDS_PERM_IERR_BASE (IDS_TAKEOWNERSHIP_LAST+1)
  118. #define IERR_CONTINUE_AFTER_USERGROUP_NOT_FOUND (IDS_PERM_IERR_BASE+1)
  119. #define IERR_NOT_NTFS_VOLUME (IDS_PERM_IERR_BASE+2)
  120. #define IERR_NOTHING_SELECTED (IDS_PERM_IERR_BASE+3)
  121. #define IERR_TOO_MANY_USERS (IDS_PERM_IERR_BASE+4)
  122. #endif // _PERMSTR_HXX_