What formats are accepted by the Set and Get methods of NameTranslate?
The following constants define the formats used with the Set and Get methods to convert names: Const ADS_NAME_TYPE_1779 = 1 Const ADS_NAME_TYPE_CANONICAL = 2 Const ADS_NAME_TYPE_NT4 = 3 Const ADS_NAME_TYPE_DISPLAY = 4 Const ADS_NAME_TYPE_DOMAIN_SIMPLE = 5 Const ADS_NAME_TYPE_ENTERPRISE_SIMPLE = 6 Const ADS_NAME_TYPE_GUID = 7 Const ADS_NAME_TYPE_UNKNOWN = 8 Const ADS_NAME_TYPE_USER_PRINCIPAL_NAME = 9 Const ADS_NAME_TYPE_CANONICAL_EX = 10 Const ADS_NAME_TYPE_SERVICE_PRINCIPAL_NAME = 11 Const ADS_NAME_TYPE_SID_OR_SID_HISTORY_NAME = 12