def deleteProxyBundle(self, idList): """delete a list of id's :param list,tuple idList: list of identity numbers :return: S_OK(int)/S_ERROR() """ rpcClient = Client(url="Framework/ProxyManager", timeout=120) return rpcClient.deleteProxyBundle(idList)
def deleteRemoteProxy(userdn, vogroup): """ Deletes proxy for a vogroup for the user envoking this function. Returns a list of all deleted proxies (if any). """ rpcClient = Client(url="Framework/ProxyManager") retVal = rpcClient.deleteProxyBundle([(userdn, vogroup)]) if retVal["OK"]: gLogger.notice("Deleted proxy for %s." % vogroup) else: gLogger.error("Failed to delete proxy for %s." % vogroup)