예제 #1
0
    def getDBContents(self,
                      condDict={},
                      sorting=[["UserDN", "DESC"]],
                      start=0,
                      limit=0):
        """Get the contents of the db

        :param dict condDict: search condition

        :return: S_OK(dict)/S_ERROR() -- dict contain fields, record list, total records
        """
        rpcClient = Client(url="Framework/ProxyManager", timeout=120)
        return rpcClient.getContents(condDict, sorting, start, limit)