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.

185 lines
3.4 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 2000
  5. //
  6. // File: addtable.h
  7. //
  8. // Contents: Declares a table which contains the classes which can be
  9. // created through dsadd.exe
  10. //
  11. // History: 22-Sep-2000 JeffJon Created
  12. //
  13. //--------------------------------------------------------------------------
  14. #ifndef _ADDTABLE_H_
  15. #define _ADDTABLE_H_
  16. typedef enum DSADD_COMMAND_ENUM
  17. {
  18. eCommContinue = eCommLast+1,
  19. eCommObjectType,
  20. eCommDescription,
  21. eTerminator,
  22. //
  23. // User and Contact switches
  24. //
  25. eUserObjectDNorName = eTerminator,
  26. eUserSam,
  27. eUserUpn,
  28. eUserFn,
  29. eUserMi,
  30. eUserLn,
  31. eUserDisplay,
  32. eUserEmpID,
  33. eUserPwd,
  34. eUserMemberOf,
  35. eUserOffice,
  36. eUserTel,
  37. eUserEmail,
  38. eUserHometel,
  39. eUserPager,
  40. eUserMobile,
  41. eUserFax,
  42. eUserIPPhone,
  43. eUserWebPage,
  44. eUserTitle,
  45. eUserDept,
  46. eUserCompany,
  47. eUserManager,
  48. eUserHomeDir,
  49. eUserHomeDrive,
  50. eUserProfilePath,
  51. eUserScriptPath,
  52. eUserMustchpwd,
  53. eUserCanchpwd,
  54. eUserReversiblePwd,
  55. eUserPwdneverexpires,
  56. eUserAcctexpires,
  57. eUserPwdNotReqd,
  58. eUserDisabled,
  59. //
  60. // Contact switches
  61. //
  62. eContactObjectDNorName = eTerminator,
  63. eContactFn,
  64. eContactMi,
  65. eContactLn,
  66. eContactDisplay,
  67. eContactOffice,
  68. eContactTel,
  69. eContactEmail,
  70. eContactHometel,
  71. eContactIPPhone,
  72. eContactPager,
  73. eContactMobile,
  74. eContactFax,
  75. eContactTitle,
  76. eContactDept,
  77. eContactCompany,
  78. //
  79. // Computer switches
  80. //
  81. eComputerObjectDNorName = eTerminator,
  82. eComputerSamname,
  83. eComputerLocation,
  84. eComputerMemberOf,
  85. //
  86. // Group switches
  87. //
  88. eGroupObjectDNorName = eTerminator,
  89. eGroupSamname,
  90. eGroupSecgrp,
  91. eGroupScope,
  92. eGroupMemberOf,
  93. eGroupMembers,
  94. //
  95. // OU switches
  96. //
  97. eOUObjectDNorName = eTerminator,
  98. //
  99. // Subnet switches
  100. //
  101. eSubnetObjectDNorName = eTerminator,
  102. eSubnetSite,
  103. //
  104. // Site switches
  105. //
  106. eSiteObjectDNorName = eTerminator,
  107. eSiteAutotopology,
  108. //
  109. // Site Link switches
  110. //
  111. eSLinkObjectDNorName = eTerminator,
  112. eSLinkIp,
  113. eSLinkSmtp,
  114. eSLinkAddsite,
  115. eSLinkRmsite,
  116. eSLinkCost,
  117. eSLinkRepint,
  118. eSLinkAutobacksync,
  119. eSLinkNotify,
  120. //
  121. // Site Link Bridge switches
  122. //
  123. eSLinkBrObjectDNorName = eTerminator,
  124. eSLinkBrIp,
  125. eSLinkBrSmtp,
  126. eSLinkBrAddslink,
  127. eSLinkBrRmslink,
  128. //
  129. // Replication Connection switches
  130. //
  131. eConnObjectDNorName = eTerminator,
  132. eConnTransport,
  133. eConnEnabled,
  134. eConnManual,
  135. eConnAutobacksync,
  136. eConnNotify,
  137. //
  138. // Server switches
  139. //
  140. eServerObjectDNorName = eTerminator,
  141. eServerAutotopology,
  142. //
  143. // Quota switches
  144. //
  145. eQuotaPart = eTerminator,
  146. eQuotaRDN,
  147. eQuotaAcct,
  148. eQuotaQlimit,
  149. };
  150. //
  151. // The parser table
  152. //
  153. extern ARG_RECORD DSADD_COMMON_COMMANDS[];
  154. //
  155. // The table of supported objects
  156. //
  157. extern PDSOBJECTTABLEENTRY g_DSObjectTable[];
  158. //
  159. //Usage Tables
  160. //
  161. extern UINT USAGE_DSADD[];
  162. extern UINT USAGE_DSADD_OU[];
  163. extern UINT USAGE_DSADD_USER[];
  164. extern UINT USAGE_DSADD_CONTACT[];
  165. extern UINT USAGE_DSADD_COMPUTER[];
  166. extern UINT USAGE_DSADD_GROUP[];
  167. extern UINT USAGE_DSADD_QUOTA[];
  168. #endif //_ADDTABLE_H_