Quantcast
Channel: SCN : Popular Discussions - RESTful Web Services SDK
Viewing all articles
Browse latest Browse all 1088

Using RESTful WSes to manipulate user base?

$
0
0

Hello,

 

We are looking into replacing some of the tooling we have developed in the Java SDKs with similar programs that use the new RESTful Web Services. One of the tasks we have is a user synchronisation tool we developed some years ago that can compare the users in a third-party system and create users that are missing in BO, so that the same users exist in the two systems. We'd do it like this in Java (to add a user):

 

      IPluginMgr pluginMgr = infoStore.getPluginMgr();

      IPluginInfo userPlugin = pluginMgr.getPluginInfo("CrystalEnterprise.User");

      IInfoObjects newInfoObjects  = infoStore.newInfoObjectCollection();

      newInfoObjects.add (userPlugin);

      IInfoObject iObject = (IInfoObject) newInfoObjects.get(0);

      iObject.setTitle (accountName);

      iObject.setDescription (description);

      objectID = iObject.getID();

      infoStore.commit (newInfoObjects);

 

I have been browsing around to find out how I can do the same using a web service, but I can't find it in the documents I have looked in so far. It seems it is mostly universes, reports, connections, etc that can be maintained with the web services.

 

Is that correct? Are there any plans to allow user base manipulation with RESTful Web Services?


Viewing all articles
Browse latest Browse all 1088

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>