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.

162 lines
5.4 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 2000
  5. //
  6. // File: cstrings.cpp
  7. //
  8. // Contents: Defines the global strings that are used in dsget
  9. //
  10. // History: 13-Oct-2000 JeffJon Created
  11. //
  12. //--------------------------------------------------------------------------
  13. #include "pch.h"
  14. #include "commonstrings.cpp"
  15. //
  16. // The command line executable name
  17. //
  18. PCWSTR g_pszDSCommandName = L"dsget";
  19. //
  20. // Object types as are typed on the command line
  21. //
  22. PCWSTR g_pszOU = L"ou";
  23. PCWSTR g_pszUser = L"user";
  24. PCWSTR g_pszContact = L"contact";
  25. PCWSTR g_pszComputer = L"computer";
  26. PCWSTR g_pszGroup = L"group";
  27. PCWSTR g_pszServer = L"server";
  28. PCWSTR g_pszSite = L"site";
  29. PCWSTR g_pszSubnet = L"subnet";
  30. PCWSTR g_pszPartition = L"partition";
  31. PCWSTR g_pszQuota = L"quota";
  32. PCWSTR c_sz_arg1_com_listformat = L"l";
  33. //
  34. // User switches
  35. //
  36. PCWSTR g_pszArg1UserDN = L"dn";
  37. PCWSTR g_pszArg1UserSID = L"sid";
  38. PCWSTR g_pszArg1UserSAMID = L"samid";
  39. PCWSTR g_pszArg1UserUPN = L"upn";
  40. PCWSTR g_pszArg1UserFirstName = L"fn";
  41. PCWSTR g_pszArg1UserMiddleInitial = L"mi";
  42. PCWSTR g_pszArg1UserLastName = L"ln";
  43. PCWSTR g_pszArg1UserDisplayName = L"display";
  44. PCWSTR g_pszArg1UserEmployeeID = L"empid";
  45. PCWSTR g_pszArg1UserOffice = L"office";
  46. PCWSTR g_pszArg1UserTelephone = L"tel";
  47. PCWSTR g_pszArg1UserEmail = L"email";
  48. PCWSTR g_pszArg1UserHomeTelephone = L"hometel";
  49. PCWSTR g_pszArg1UserPagerNumber = L"pager";
  50. PCWSTR g_pszArg1UserMobileNumber = L"mobile";
  51. PCWSTR g_pszArg1UserFaxNumber = L"fax";
  52. PCWSTR g_pszArg1UserIPTel = L"iptel";
  53. PCWSTR g_pszArg1UserWebPage = L"webpg";
  54. PCWSTR g_pszArg1UserTitle = L"title";
  55. PCWSTR g_pszArg1UserDepartment = L"dept";
  56. PCWSTR g_pszArg1UserCompany = L"company";
  57. PCWSTR g_pszArg1UserManager = L"mgr";
  58. PCWSTR g_pszArg1UserHomeDirectory = L"hmdir";
  59. PCWSTR g_pszArg1UserHomeDrive = L"hmdrv";
  60. PCWSTR g_pszArg1UserProfile = L"profile";
  61. PCWSTR g_pszArg1UserLogonScript = L"loscr";
  62. PCWSTR g_pszArg1UserMustChangePwd = L"mustchpwd";
  63. PCWSTR g_pszArg1UserCanChangePwd = L"canchpwd";
  64. PCWSTR g_pszArg1UserPwdNeverExpires = L"pwdneverexpires";
  65. PCWSTR g_pszArg1UserReversiblePwd = L"reversiblepwd";
  66. PCWSTR g_pszArg1UserDisableAccount = L"disabled";
  67. PCWSTR g_pszArg1UserAcctExpires = L"acctexpires";
  68. PCWSTR g_pszArg1UserMemberOf = L"memberof";
  69. PCWSTR g_pszArg1UserExpand = L"expand";
  70. PCWSTR g_pszArg1UserPart = L"part";
  71. PCWSTR g_pszArg1UserQLimit = L"qlimit";
  72. PCWSTR g_pszArg1UserQuotaUsed = L"qused";
  73. //
  74. // Computer switches
  75. //
  76. PCWSTR g_pszArg1ComputerSAMID = L"samid";
  77. PCWSTR g_pszArg1ComputerSID = L"sid";
  78. PCWSTR g_pszArg1ComputerLoc = L"loc";
  79. PCWSTR g_pszArg1ComputerDisableAccount = L"disabled";
  80. PCWSTR g_pszArg1ComputerMemberOf = L"memberof";
  81. PCWSTR g_pszArg1ComputerExpand = L"expand";
  82. PCWSTR g_pszArg1ComputerPart = L"part";
  83. PCWSTR g_pszArg1ComputerQLimit = L"qlimit";
  84. PCWSTR g_pszArg1ComputerQuotaUsed = L"qUsed";
  85. //
  86. // Group switches
  87. //
  88. PCWSTR g_pszArg1GroupSamid = L"samid";
  89. PCWSTR g_pszArg1GroupSID = L"sid";
  90. PCWSTR g_pszArg1GroupSecGrp = L"secgrp";
  91. PCWSTR g_pszArg1GroupScope = L"scope";
  92. PCWSTR g_pszArg1GroupMemberOf = L"memberof";
  93. PCWSTR g_pszArg1GroupMembers = L"members";
  94. PCWSTR g_pszArg1GroupExpand = L"expand";
  95. PCWSTR g_pszArg1GroupPart = L"part";
  96. PCWSTR g_pszArg1GroupQLimit = L"qlimit";
  97. PCWSTR g_pszArg1GroupQuotaUsed = L"qUsed";
  98. //
  99. // Ou switches
  100. //
  101. // ** only uses common switches **
  102. //
  103. // Server switches
  104. //
  105. PCWSTR g_pszArg1ServerDnsName = L"dnsname";
  106. PCWSTR g_pszArg1ServerSite = L"site";
  107. PCWSTR g_pszArg1ServerIsGC = L"isgc";
  108. PCWSTR g_pszArg1ServerTopObjOwner = L"topobjowner";
  109. PCWSTR g_pszArg1ServerPart = L"part";
  110. //
  111. // Site switches
  112. //
  113. PCWSTR g_pszArg1SiteAutotopology = L"autotopology";
  114. PCWSTR g_pszArg1SiteCacheGroups = L"cachegroups";
  115. PCWSTR g_pszArg1SitePrefGCSite = L"prefGCsite";
  116. //
  117. // Subnet switches
  118. //
  119. PCWSTR g_pszArg1SubnetLocation = L"loc";
  120. PCWSTR g_pszArg1SubnetSite = L"site";
  121. //
  122. // Partition switches
  123. //
  124. PCWSTR g_pszArg1PartitionQDefault = L"qdefault";
  125. PCWSTR g_pszArg1PartitionQTombstoneWeight = L"qtmbstnwt";
  126. PCWSTR g_pszArg1PartitionTopObjOwner = L"topobjowner";
  127. //
  128. // Quota switches
  129. //
  130. PCWSTR g_pszArg1QuotaAcct = L"acct";
  131. PCWSTR g_pszArg1QuotaQLimit = L"qlimit";
  132. //
  133. // Values
  134. //
  135. PCWSTR g_pszYes = L"yes";
  136. PCWSTR g_pszNo = L"no";
  137. PCWSTR g_pszNotConfigured = L"not configured";
  138. PCWSTR g_pszNever = L"never";
  139. //
  140. // 702724 ronmart 2002/09/18 Range qualifier
  141. //
  142. PCWSTR g_pszRange = L";range";
  143. // NTRAID#NTBUG9-765440-2003/01/17-ronmart-dsget user/group -qlimit -qused
  144. // not returning values
  145. PCWSTR g_pszAttrmsDSQuotaEffective = L"msDS-QuotaEffective";
  146. PCWSTR g_pszAttrmsDSQuotaUsed = L"msDS-QuotaUsed";