code: def getPrivilegeForRole(self, rolename):
          
          params = {
              "f" : "json",
              "rolename" : rolename
          }
          pURL = self._url + "/roles/getPrivilege"
          return self._post(url=pURL,
                               param_dict=params,
                               securityHandler=self._securityHandler,
                               proxy_url=self._proxy_url,
                               proxy_port=self._proxy_port)
docs: Returns the privilege associated with a role.
             Input:
                rolename - name of the role
             Output:
                JSON Messages