'Requests the existing permissions for object'

def GetSecurity(self, requestedinfo, bdefault):

    if bdefault:
        return win32security.SECURITY_DESCRIPTOR()
    else:
        return win32security.GetNamedSecurityInfo(self.ServiceName, win32security.SE_SERVICE, requestedinfo)
