POLICY_INFORMATION_CLASS enumeration (ntsecapi.h)

The POLICY_INFORMATION_CLASS enumeration defines values that indicate the type of information to set or query in a Policy object.

Syntax

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

Constants

 
PolicyAuditLogInformation
Value: 1
This value is obsolete.
PolicyAuditEventsInformation
Query or set the auditing rules of the system. You can enable or disable auditing and specify the types of events that are audited. Use the
POLICY_AUDIT_EVENTS_INFO structure.
PolicyPrimaryDomainInformation
This value is obsolete. Use the PolicyDnsDomainInformation value instead.
PolicyPdAccountInformation
This value is obsolete.
PolicyAccountDomainInformation
Query or set the name and SID of the account domain of the system. Use the
POLICY_ACCOUNT_DOMAIN_INFO structure.
PolicyLsaServerRoleInformation
Query or set the role of an LSA server. Use the
POLICY_LSA_SERVER_ROLE_INFO structure.
PolicyReplicaSourceInformation
This value is obsolete.
PolicyDefaultQuotaInformation
This value is obsolete.
PolicyModificationInformation
Query or set information about the creation time and last modification of the LSA database. Use the
POLICY_MODIFICATION_INFO structure.
PolicyAuditFullSetInformation
This value is obsolete.
PolicyAuditFullQueryInformation
This value is obsolete.
PolicyDnsDomainInformation
Query or set Domain Name System (DNS) information about the account domain associated with a Policy object. Use the
POLICY_DNS_DOMAIN_INFO structure.
PolicyDnsDomainInformationInt
PolicyLocalAccountDomainInformation
PolicyMachineAccountInformation
PolicyLastEntry

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header ntsecapi.h

See also

LsaQueryInformationPolicy

LsaSetInformationPolicy

POLICY_ACCOUNT_DOMAIN_INFO

POLICY_AUDIT_EVENTS_INFO

POLICY_DNS_DOMAIN_INFO

POLICY_LSA_SERVER_ROLE_INFO

POLICY_MODIFICATION_INFO

POLICY_PRIMARY_DOMAIN_INFO