win32security.LsaOpenPolicy

PyLSA_HANDLE = LsaOpenPolicy(system_name, access_mask )

Opens a policy handle for the specified system

Parameters

system_name : string/PyUnicode

System name, local system assumed if not specified

access_mask : int

Bitmask of requested access types