Partager via


2.2.4.1 POLICY_INFORMATION_CLASS

The POLICY_INFORMATION_CLASS enumeration type contains values that specify the type of policy being queried or set by the client.

 typedef  enum _POLICY_INFORMATION_CLASS
 {
   PolicyAuditLogInformation = 1,
   PolicyAuditEventsInformation,
   PolicyPrimaryDomainInformation,
   PolicyPdAccountInformation,
   PolicyAccountDomainInformation,
   PolicyLsaServerRoleInformation,
   PolicyReplicaSourceInformation,
   PolicyInformationNotUsedOnWire,
   PolicyModificationInformation,
   PolicyAuditFullSetInformation,
   PolicyAuditFullQueryInformation,
   PolicyDnsDomainInformation,
   PolicyDnsDomainInformationInt,
   PolicyLocalAccountDomainInformation,
   PolicyMachineAccountInformation,
   PolicyLastEntry
 } POLICY_INFORMATION_CLASS,
  *PPOLICY_INFORMATION_CLASS;

PolicyAuditLogInformation: Information about audit log.

PolicyAuditEventsInformation: Auditing options.

PolicyPrimaryDomainInformation: Primary domain information.

PolicyPdAccountInformation: Obsolete information class.

PolicyAccountDomainInformation: Account domain information.

PolicyLsaServerRoleInformation: Server role information.

PolicyReplicaSourceInformation: Replica source information.

PolicyInformationNotUsedOnWire: This enumeration value does not appear on the wire.

PolicyModificationInformation: Obsolete information class.

PolicyAuditFullSetInformation: Obsolete information class.

PolicyAuditFullQueryInformation: Audit log state.

PolicyDnsDomainInformation: DNS domain information.

PolicyDnsDomainInformationInt: DNS domain information.

PolicyLocalAccountDomainInformation: Local account domain information.

PolicyMachineAccountInformation: Machine account information.

PolicyLastEntry: Not used in this protocol. Present to mark the end of the enumeration.

The following citation contains a timeline of when each enumeration value was introduced.<22>

The values in this enumeration are used to define the contents of the LSAPR_POLICY_INFORMATION (section 2.2.4.2) union, where the structure associated with each enumeration value is specified. The structure associated with each enumeration value defines the meaning of that value to this protocol.