PySECURITY_DESCRIPTOR.SetSecurityDescriptorOwner

SetSecurityDescriptorOwner(sid, bOwnerDefaulted)

Set owner SID.

Parameters

sid : PySID

The sid to be set as owner in the security descriptor.

bOwnerDefaulted : int

Normally set to false since this explicitely set the owner.