code: def list_privileges(self, principal_name, principal_type, hiveObject):
      
      self.send_list_privileges(principal_name, principal_type, hiveObject)
      return self.recv_list_privileges()
docs: Parameters:
       - principal_name
       - principal_type
       - hiveObject