win32security.LsaSetInformationPolicy

LsaSetInformationPolicy(PolicyHandle, InformationClass, Information)

Sets policy options

Parameters

PolicyHandle : PyLSA_HANDLE

An LSA policy handle as returned by win32security::LsaOpenPolicy

InformationClass : int

POLICY_INFORMATION_CLASS value

Information : object

Type is dependent on InformationClass

InformationClass Type of input expected


PolicyAuditEventsInformation(boolean, (int, ...))
First member imdicates whether auditing is enabled or not.
Seconed member is a sequence of POLICY_AUDIT_EVENT_* flags specifying which events should be audited. See AuditCategory* values for positions of each event type.