<div class="content"><p> </p><p>The DSROLE_MACHINE_ROLE enumeration specifies the current
role of the computer.</p><dl>
<dd>
<div><pre> typedef  enum _DSROLE_MACHINE_ROLE
 {
   DsRole_RoleStandaloneWorkstation,
   DsRole_RoleMemberWorkstation,
   DsRole_RoleStandaloneServer,
   DsRole_RoleMemberServer,
   DsRole_RoleBackupDomainController,
   DsRole_RolePrimaryDomainController
 } DSROLE_MACHINE_ROLE;
</pre></div>
</dd></dl><p><b>DsRole_RoleStandaloneWorkstation:  </b>The
computer is a stand-alone workstation.</p><p><b>DsRole_RoleMemberWorkstation:  </b>The computer is
a workstation that is joined to a domain.</p><p><b>DsRole_RoleStandaloneServer:  </b>The computer is
a stand-alone server.</p><p><b>DsRole_RoleMemberServer:  </b>The computer is a
server that is joined to a domain.</p><p><b>DsRole_RoleBackupDomainController:</b>  The
computer is a server that is a <span><a href="4339df3c-494b-49b4-9c60-d25526a35a0d#gt_ce1138c6-7ab4-4c37-98b4-95599071c3c3" data-linktype="relative-path">backup domain controller</a></span>
or a <span><a href="4339df3c-494b-49b4-9c60-d25526a35a0d#gt_8b0a073b-3099-4efe-8b81-c2886b66a870" data-linktype="relative-path">read-only
domain controller</a></span>.<a id="Appendix_A_Target_3"></a><a aria-label="Product behavior note 3" href="9eaff666-129a-486e-ba94-1193d51f5a5b#Appendix_A_3" data-linktype="relative-path">&lt;3&gt;</a></p><p><b>DsRole_RolePrimaryDomainController:</b>  The
computer is a server that is the <span><a href="4339df3c-494b-49b4-9c60-d25526a35a0d#gt_663cb13a-8b75-477f-b6e1-bea8f2fba64d" data-linktype="relative-path">primary domain controller</a></span>
emulator.</p></div>