win32service.QueryServiceObjectSecurity

PySECURITY_DESCRIPTOR = QueryServiceObjectSecurity(Handle, SecurityInformation )

Retrieves information from the security descriptor for a service

Parameters

Handle : PySC_HANDLE

Service handle

SecurityInformation : int

Type of infomation to retrieve, combination of values from SECURITY_INFORMATION enum