<div class="content"><p> </p><p>The DS_DOMAIN_CONTROLLER_INFO_2W structure defines <span><a href="e5c2026b-f732-4c9d-9d60-b945c0ab54eb#gt_76a05049-3531-4abd-aec8-30e19954b4bd" data-linktype="relative-path">DC</a></span>
information that is returned as a part of the response to an InfoLevel = 2
request. The struct contains information about a single DC in the <span><a href="e5c2026b-f732-4c9d-9d60-b945c0ab54eb#gt_b0276eb2-4e65-4cf1-a718-e0920a614aca" data-linktype="relative-path">domain</a></span>.</p><dl>
<dd>
<div><pre> typedef struct {
   [string, unique] WCHAR* NetbiosName;
   [string, unique] WCHAR* DnsHostName;
   [string, unique] WCHAR* SiteName;
   [string, unique] WCHAR* SiteObjectName;
   [string, unique] WCHAR* ComputerObjectName;
   [string, unique] WCHAR* ServerObjectName;
   [string, unique] WCHAR* NtdsDsaObjectName;
   BOOL fIsPdc;
   BOOL fDsEnabled;
   BOOL fIsGc;
   GUID SiteObjectGuid;
   GUID ComputerObjectGuid;
   GUID ServerObjectGuid;
   GUID NtdsDsaObjectGuid;
 } DS_DOMAIN_CONTROLLER_INFO_2W;
</pre></div>
</dd></dl><p><b>NetbiosName:</b>  NetBIOS name of the
DC. </p><p><b>DnsHostName:</b>  DNS host name of the
DC.</p><p><b>SiteName:</b>  <span><a href="e5c2026b-f732-4c9d-9d60-b945c0ab54eb#gt_22198321-b40b-4c24-b8a2-29e44d9d92b9" data-linktype="relative-path">RDN</a></span> of the <span><a href="../ms-adsc/c44def4a-5465-472c-95f3-2792bfd820d1" data-linktype="relative-path">site</a></span>
<span><a href="e5c2026b-f732-4c9d-9d60-b945c0ab54eb#gt_8bb43a65-7a8c-4585-a7ed-23044772f8ca" data-linktype="relative-path">object</a></span>.</p><p><b>SiteObjectName:</b>  <span><a href="e5c2026b-f732-4c9d-9d60-b945c0ab54eb#gt_1175dd11-9368-41d5-98ed-d585f268ad4b" data-linktype="relative-path">DN</a></span>
of the site object.</p><p><b>ComputerObjectName:</b>  DN of the <span><a href="../ms-adsc/142185a8-2e23-4628-b002-cf31d57bb37a" data-linktype="relative-path">computer</a></span>
object that corresponds to the DC.</p><p><b>ServerObjectName:</b>  DN of the <span><a href="../ms-adsc/96cab7b4-83eb-4879-b352-56ad8d19f1ac" data-linktype="relative-path">server</a></span>
object that corresponds to the DC.</p><p><b>NtdsDsaObjectName:</b>  DN of the <span><a href="../ms-adsc/5a79757d-2412-4846-bd7c-7585838a5a44" data-linktype="relative-path">nTDSDSA</a></span>
object that corresponds to the DC.</p><p><b>fIsPdc:</b>  True if and only if the DC
is the <span><a href="e5c2026b-f732-4c9d-9d60-b945c0ab54eb#gt_663cb13a-8b75-477f-b6e1-bea8f2fba64d" data-linktype="relative-path">PDC</a></span> <span><a href="e5c2026b-f732-4c9d-9d60-b945c0ab54eb#gt_de81e9fd-25f5-4e90-aadb-1d35c5e8a06b" data-linktype="relative-path">FSMO role
owner</a></span>.</p><p><b>fDsEnabled:</b>  A Boolean value that
indicates whether or not the machine is a domain controller. This value MUST be
TRUE.</p><p><b>fIsGc:</b>  True if and only if the DC
is also a <span><a href="e5c2026b-f732-4c9d-9d60-b945c0ab54eb#gt_4f5d605a-7b3f-4db7-8c21-b146856d7169" data-linktype="relative-path">GC</a></span>.</p><p><b>SiteObjectGuid:</b>  The <span><a href="../ms-ada3/937eb5c6-f6b3-4652-a276-5d6bb8979658" data-linktype="relative-path">objectGUID</a></span>
<span><a href="e5c2026b-f732-4c9d-9d60-b945c0ab54eb#gt_108a1419-49a9-4d19-b6ca-7206aa726b3f" data-linktype="relative-path">attribute</a></span>
of the site object.</p><p><b>ComputerObjectGuid:</b>  The objectGUID
attribute of the computer object that corresponds to the DC.</p><p><b>ServerObjectGuid:</b>  The objectGUID
attribute of the server object that corresponds to the DC.</p><p><b>NtdsDsaObjectGuid:</b>  The objectGUID
attribute of the nTDSDSA object that corresponds to the DC.</p></div>