win32security.SetUserObjectSecurity

SetUserObjectSecurity(handle, info, security)

Sets information about the security of a user object. The information obtained is constrained by the caller's access rights and privileges.

Parameters

handle : PyHANDLE

The handle to an object for which security information will be set.

info : int

The type of information to set - combination of SECURITY_INFORMATION values

security : PySECURITY_DESCRIPTOR

The security information