<div class="content" name="POLICY_LSA_SERVER_ROLE" uuid="620010b4-b439-4d46-893a-cb67246de5fc"><p>The POLICY_LSA_SERVER_ROLE enumeration takes one of two
possible values, depending on which capacity the <span><a href="31ca2a31-0be4-4773-bcef-05ad6cd3ccfb#gt_b56f14e3-d874-48bc-837b-5e812ee1a96e" data-linktype="relative-path">account domain</a></span>
database is in: primary or backup. Certain operations of the protocol are
allowed only against a primary account database. On non–<span><a href="31ca2a31-0be4-4773-bcef-05ad6cd3ccfb#gt_76a05049-3531-4abd-aec8-30e19954b4bd" data-linktype="relative-path">domain
controller</a></span> machines, the account domain database is in primary
state. On domain controllers, if the machine is the <span><a href="31ca2a31-0be4-4773-bcef-05ad6cd3ccfb#gt_e42e52b3-e44f-4284-9c1b-e161f81ea516" data-linktype="relative-path">primary domain controller (PDC)
role owner</a></span>, then the account domain database is in primary state;
otherwise, it is in backup state.</p><dl>
<dd>
<div><pre> typedef  enum _POLICY_LSA_SERVER_ROLE
 {
   PolicyServerRoleBackup = 2,
   PolicyServerRolePrimary
 } POLICY_LSA_SERVER_ROLE,
  *PPOLICY_LSA_SERVER_ROLE;
</pre></div>
</dd></dl><p><b>PolicyServerRoleBackup:  </b>A backup account
database.</p><p><b>PolicyServerRolePrimary:  </b>A primary account
database.</p></div>