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.

150 lines
5.0 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. //
  15. // The command line executable name
  16. //
  17. PCWSTR g_pszDSCommandName = L"dsget";
  18. //
  19. // Object types as are typed on the command line
  20. //
  21. PCWSTR g_pszOU = L"ou";
  22. PCWSTR g_pszUser = L"user";
  23. PCWSTR g_pszContact = L"contact";
  24. PCWSTR g_pszComputer = L"computer";
  25. PCWSTR g_pszGroup = L"group";
  26. PCWSTR g_pszServer = L"server";
  27. PCWSTR g_pszSite = L"site";
  28. PCWSTR g_pszSubnet = L"subnet";
  29. //
  30. // Common switches
  31. //
  32. PCWSTR c_sz_arg1_com_debug = L"debug";
  33. PCWSTR c_sz_arg1_com_help = L"h";
  34. PCWSTR c_sz_arg2_com_help = L"?";
  35. PCWSTR c_sz_arg1_com_server = L"s";
  36. PCWSTR c_sz_arg2_com_server = L"server";
  37. PCWSTR c_sz_arg1_com_domain = L"d";
  38. PCWSTR c_sz_arg2_com_domain = L"domain";
  39. PCWSTR c_sz_arg1_com_username = L"u";
  40. PCWSTR c_sz_arg2_com_username = L"username";
  41. PCWSTR c_sz_arg1_com_password = L"p";
  42. PCWSTR c_sz_arg2_com_password = L"password";
  43. PCWSTR c_sz_arg1_com_quiet = L"q";
  44. PCWSTR c_sz_arg1_com_continue = L"c";
  45. PCWSTR c_sz_arg1_com_objecttype = L"objecttype";
  46. PCWSTR c_sz_arg1_com_objectDN = L"Target object for this command";
  47. PCWSTR c_sz_arg1_com_listformat = L"l";
  48. PCWSTR c_sz_arg1_com_description = L"desc";
  49. //
  50. // User switches
  51. //
  52. PCWSTR g_pszArg1UserDN = L"dn";
  53. PCWSTR g_pszArg1UserSID = L"sid";
  54. PCWSTR g_pszArg1UserSAMID = L"samid";
  55. PCWSTR g_pszArg1UserUPN = L"upn";
  56. PCWSTR g_pszArg1UserFirstName = L"fn";
  57. PCWSTR g_pszArg1UserMiddleInitial = L"mi";
  58. PCWSTR g_pszArg1UserLastName = L"ln";
  59. PCWSTR g_pszArg1UserDisplayName = L"display";
  60. PCWSTR g_pszArg1UserEmployeeID = L"empid";
  61. PCWSTR g_pszArg1UserOffice = L"office";
  62. PCWSTR g_pszArg1UserTelephone = L"tel";
  63. PCWSTR g_pszArg1UserEmail = L"email";
  64. PCWSTR g_pszArg1UserHomeTelephone = L"hometel";
  65. PCWSTR g_pszArg1UserPagerNumber = L"pager";
  66. PCWSTR g_pszArg1UserMobileNumber = L"mobile";
  67. PCWSTR g_pszArg1UserFaxNumber = L"fax";
  68. PCWSTR g_pszArg1UserIPTel = L"iptel";
  69. PCWSTR g_pszArg1UserWebPage = L"webpg";
  70. PCWSTR g_pszArg1UserTitle = L"title";
  71. PCWSTR g_pszArg1UserDepartment = L"dept";
  72. PCWSTR g_pszArg1UserCompany = L"company";
  73. PCWSTR g_pszArg1UserManager = L"mgr";
  74. PCWSTR g_pszArg1UserHomeDirectory = L"hmdir";
  75. PCWSTR g_pszArg1UserHomeDrive = L"hmdrv";
  76. PCWSTR g_pszArg1UserProfile = L"profile";
  77. PCWSTR g_pszArg1UserLogonScript = L"loscr";
  78. PCWSTR g_pszArg1UserMustChangePwd = L"mustchpwd";
  79. PCWSTR g_pszArg1UserCanChangePwd = L"canchpwd";
  80. PCWSTR g_pszArg1UserPwdNeverExpires = L"pwdneverexpires";
  81. PCWSTR g_pszArg1UserReversiblePwd = L"reversiblepwd";
  82. PCWSTR g_pszArg1UserDisableAccount = L"disabled";
  83. PCWSTR g_pszArg1UserAcctExpires = L"acctexpires";
  84. PCWSTR g_pszArg1UserMemberOf = L"memberof";
  85. PCWSTR g_pszArg1UserExpand = L"expand";
  86. //
  87. // Computer switches
  88. //
  89. PCWSTR g_pszArg1ComputerDN = L"dn";
  90. PCWSTR g_pszArg1ComputerSAMID = L"samid";
  91. PCWSTR g_pszArg1ComputerSID = L"sid";
  92. PCWSTR g_pszArg1ComputerLoc = L"loc";
  93. PCWSTR g_pszArg1ComputerDisableAccount = L"disabled";
  94. PCWSTR g_pszArg1ComputerMemberOf = L"memberof";
  95. PCWSTR g_pszArg1ComputerExpand = L"expand";
  96. //
  97. // Group switches
  98. //
  99. PCWSTR g_pszArg1GroupDN = L"dn";
  100. PCWSTR g_pszArg1GroupSamid = L"samid";
  101. PCWSTR g_pszArg1GroupSID = L"sid";
  102. PCWSTR g_pszArg1GroupSecGrp = L"secgrp";
  103. PCWSTR g_pszArg1GroupScope = L"scope";
  104. PCWSTR g_pszArg1GroupMemberOf = L"memberof";
  105. PCWSTR g_pszArg1GroupMembers = L"members";
  106. PCWSTR g_pszArg1GroupExpand = L"expand";
  107. //
  108. // Ou switches
  109. //
  110. PCWSTR g_pszArg1OUDN = L"dn";
  111. //
  112. // Server switches
  113. //
  114. PCWSTR g_pszArg1ServerDN = L"dn";
  115. PCWSTR g_pszArg1ServerDnsName = L"dnsname";
  116. PCWSTR g_pszArg1ServerSite = L"site";
  117. PCWSTR g_pszArg1ServerIsGC = L"isgc";
  118. //
  119. // Site switches
  120. //
  121. PCWSTR g_pszArg1SiteDN = L"dn";
  122. PCWSTR g_pszArg1SiteAutotopology = L"autotopology";
  123. PCWSTR g_pszArg1SiteCacheGroups = L"cachegroups";
  124. PCWSTR g_pszArg1SitePrefGCSite = L"prefGCsite";
  125. //
  126. // Subnet switches
  127. //
  128. PCWSTR g_pszArg1SubnetDN = L"dn";
  129. PCWSTR g_pszArg1SubnetLocation = L"loc";
  130. PCWSTR g_pszArg1SubnetSite = L"site";
  131. //
  132. // Values
  133. //
  134. PCWSTR g_pszYes = L"yes";
  135. PCWSTR g_pszNo = L"no";
  136. PCWSTR g_pszNotConfigured = L"not configured";
  137. PCWSTR g_pszNever = L"never";