Partager via


2.2.4.8 POLICY_LSA_SERVER_ROLE

The POLICY_LSA_SERVER_ROLE enumeration takes one of two possible values, depending on which capacity the account domain database is in: primary or backup. Certain operations of the protocol are allowed only against a primary account database. On non–domain controller machines, the account domain database is in primary state. On domain controllers, if the machine is the primary domain controller (PDC) role owner, then the account domain database is in primary state; otherwise, it is in backup state.

 typedef  enum _POLICY_LSA_SERVER_ROLE
 {
   PolicyServerRoleBackup = 2,
   PolicyServerRolePrimary
 } POLICY_LSA_SERVER_ROLE,
  *PPOLICY_LSA_SERVER_ROLE;

PolicyServerRoleBackup:  A backup account database.

PolicyServerRolePrimary:  A primary account database.