jwaadsnms.pas 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. {******************************************************************************}
  2. { }
  3. { Active Directory Class Names API interface Unit for Object Pascal }
  4. { }
  5. { Portions created by Microsoft are Copyright (C) 1995-2001 Microsoft }
  6. { Corporation. All Rights Reserved. }
  7. { }
  8. { The original file is: adsnms.h, released June 2000. The original Pascal }
  9. { code is: AdsNms.pas, released December 2000. The initial developer of the }
  10. { Pascal code is Marcel van Brakel (brakelm att chello dott nl). }
  11. { }
  12. { Portions created by Marcel van Brakel are Copyright (C) 1999-2001 }
  13. { Marcel van Brakel. All Rights Reserved. }
  14. { }
  15. { Obtained through: Joint Endeavour of Delphi Innovators (Project JEDI) }
  16. { }
  17. { You may retrieve the latest version of this file at the Project JEDI }
  18. { APILIB home page, located at http://jedi-apilib.sourceforge.net }
  19. { }
  20. { The contents of this file are used with permission, subject to the Mozilla }
  21. { Public License Version 1.1 (the "License"); you may not use this file except }
  22. { in compliance with the License. You may obtain a copy of the License at }
  23. { http://www.mozilla.org/MPL/MPL-1.1.html }
  24. { }
  25. { Software distributed under the License is distributed on an "AS IS" basis, }
  26. { WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for }
  27. { the specific language governing rights and limitations under the License. }
  28. { }
  29. { Alternatively, the contents of this file may be used under the terms of the }
  30. { GNU Lesser General Public License (the "LGPL License"), in which case the }
  31. { provisions of the LGPL License are applicable instead of those above. }
  32. { If you wish to allow use of your version of this file only under the terms }
  33. { of the LGPL License and not to allow others to use your version of this file }
  34. { under the MPL, indicate your decision by deleting the provisions above and }
  35. { replace them with the notice and other provisions required by the LGPL }
  36. { License. If you do not delete the provisions above, a recipient may use }
  37. { your version of this file under either the MPL or the LGPL License. }
  38. { }
  39. { For more information about the LGPL: http://www.gnu.org/copyleft/lesser.html }
  40. { }
  41. {******************************************************************************}
  42. unit JwaAdsnms;
  43. {$WEAKPACKAGEUNIT}
  44. {$HPPEMIT ''}
  45. {$HPPEMIT '#include "adsnms.h"'}
  46. {$HPPEMIT ''}
  47. {$I jediapilib.inc}
  48. interface
  49. // Contents: Class Names and schema definitions for ADS objects
  50. const
  51. NAMESPACE_CLASS_NAME = 'Namespace';
  52. {$EXTERNALSYM NAMESPACE_CLASS_NAME}
  53. COUNTRY_CLASS_NAME = 'Country';
  54. {$EXTERNALSYM COUNTRY_CLASS_NAME}
  55. LOCALITY_CLASS_NAME = 'Locality';
  56. {$EXTERNALSYM LOCALITY_CLASS_NAME}
  57. ORGANIZATION_CLASS_NAME = 'Organization';
  58. {$EXTERNALSYM ORGANIZATION_CLASS_NAME}
  59. ORGANIZATIONUNIT_CLASS_NAME = 'Organizational Unit';
  60. {$EXTERNALSYM ORGANIZATIONUNIT_CLASS_NAME}
  61. DOMAIN_CLASS_NAME = 'Domain';
  62. {$EXTERNALSYM DOMAIN_CLASS_NAME}
  63. COMPUTER_CLASS_NAME = 'Computer';
  64. {$EXTERNALSYM COMPUTER_CLASS_NAME}
  65. USER_CLASS_NAME = 'User';
  66. {$EXTERNALSYM USER_CLASS_NAME}
  67. GROUP_CLASS_NAME = 'Group';
  68. {$EXTERNALSYM GROUP_CLASS_NAME}
  69. GLOBALGROUP_CLASS_NAME = 'GlobalGroup';
  70. {$EXTERNALSYM GLOBALGROUP_CLASS_NAME}
  71. LOCALGROUP_CLASS_NAME = 'LocalGroup';
  72. {$EXTERNALSYM LOCALGROUP_CLASS_NAME}
  73. SERVICE_CLASS_NAME = 'Service';
  74. {$EXTERNALSYM SERVICE_CLASS_NAME}
  75. FILESERVICE_CLASS_NAME = 'FileService';
  76. {$EXTERNALSYM FILESERVICE_CLASS_NAME}
  77. SESSION_CLASS_NAME = 'Session';
  78. {$EXTERNALSYM SESSION_CLASS_NAME}
  79. RESOURCE_CLASS_NAME = 'Resource';
  80. {$EXTERNALSYM RESOURCE_CLASS_NAME}
  81. FILESHARE_CLASS_NAME = 'FileShare';
  82. {$EXTERNALSYM FILESHARE_CLASS_NAME}
  83. PRINTER_CLASS_NAME = 'PrintQueue';
  84. {$EXTERNALSYM PRINTER_CLASS_NAME}
  85. PRINTJOB_CLASS_NAME = 'PrintJob';
  86. {$EXTERNALSYM PRINTJOB_CLASS_NAME}
  87. SCHEMA_CLASS_NAME = 'Schema';
  88. {$EXTERNALSYM SCHEMA_CLASS_NAME}
  89. CLASS_CLASS_NAME = 'Class';
  90. {$EXTERNALSYM CLASS_CLASS_NAME}
  91. PROPERTY_CLASS_NAME = 'Property';
  92. {$EXTERNALSYM PROPERTY_CLASS_NAME}
  93. SYNTAX_CLASS_NAME = 'Syntax';
  94. {$EXTERNALSYM SYNTAX_CLASS_NAME}
  95. ROOTDSE_CLASS_NAME = 'RootDSE';
  96. {$EXTERNALSYM ROOTDSE_CLASS_NAME}
  97. NO_SCHEMA = '';
  98. {$EXTERNALSYM NO_SCHEMA}
  99. DOMAIN_SCHEMA_NAME = 'Domain';
  100. {$EXTERNALSYM DOMAIN_SCHEMA_NAME}
  101. COMPUTER_SCHEMA_NAME = 'Computer';
  102. {$EXTERNALSYM COMPUTER_SCHEMA_NAME}
  103. USER_SCHEMA_NAME = 'User';
  104. {$EXTERNALSYM USER_SCHEMA_NAME}
  105. GROUP_SCHEMA_NAME = 'Group';
  106. {$EXTERNALSYM GROUP_SCHEMA_NAME}
  107. GLOBALGROUP_SCHEMA_NAME = 'GlobalGroup';
  108. {$EXTERNALSYM GLOBALGROUP_SCHEMA_NAME}
  109. LOCALGROUP_SCHEMA_NAME = 'LocalGroup';
  110. {$EXTERNALSYM LOCALGROUP_SCHEMA_NAME}
  111. SERVICE_SCHEMA_NAME = 'Service';
  112. {$EXTERNALSYM SERVICE_SCHEMA_NAME}
  113. PRINTER_SCHEMA_NAME = 'PrintQueue';
  114. {$EXTERNALSYM PRINTER_SCHEMA_NAME}
  115. PRINTJOB_SCHEMA_NAME = 'PrintJob';
  116. {$EXTERNALSYM PRINTJOB_SCHEMA_NAME}
  117. FILESERVICE_SCHEMA_NAME = 'FileService';
  118. {$EXTERNALSYM FILESERVICE_SCHEMA_NAME}
  119. SESSION_SCHEMA_NAME = 'Session';
  120. {$EXTERNALSYM SESSION_SCHEMA_NAME}
  121. RESOURCE_SCHEMA_NAME = 'Resource';
  122. {$EXTERNALSYM RESOURCE_SCHEMA_NAME}
  123. FILESHARE_SCHEMA_NAME = 'FileShare';
  124. {$EXTERNALSYM FILESHARE_SCHEMA_NAME}
  125. FPNW_FILESERVICE_SCHEMA_NAME = 'FPNWFileService';
  126. {$EXTERNALSYM FPNW_FILESERVICE_SCHEMA_NAME}
  127. FPNW_SESSION_SCHEMA_NAME = 'FPNWSession';
  128. {$EXTERNALSYM FPNW_SESSION_SCHEMA_NAME}
  129. FPNW_RESOURCE_SCHEMA_NAME = 'FPNWResource';
  130. {$EXTERNALSYM FPNW_RESOURCE_SCHEMA_NAME}
  131. FPNW_FILESHARE_SCHEMA_NAME = 'FPNWFileShare';
  132. {$EXTERNALSYM FPNW_FILESHARE_SCHEMA_NAME}
  133. implementation
  134. end.