Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Java sample using WOM API on "Subscription"
jman
Hi,
WSMP manages workspace subscription in a "personal" way, but my target is to write a program so that administrator can manages the workspace subscription for the users.
In WSMP SDk Javadoc, there's a class/interface named "subscription" which I think can be used. But I have the following questions,
1) Is the API, in particular the "subscription" class/interface can be used to write a program to manage subscription for other users?
2) If so, anyone have sample code that can share with me?
Thanks,
John
Find more posts tagged with
Comments
dbguy
It cannot be done. Only the user has access to his/her subscription related objects.
jman
Hi dbguy,
Thanks for your update.
I'm also trying to find a way from the Javadoc before reading your reply...
Can you please help to see whether the following is possible,
1) Create a session
2) Login with administrator
3) Get library by "getLibraryByName"
4) Get the user object by "getUserByLoginId"
5) Get the "subscriptions" from the user object
6) Modify the subscriptions
I haven't start coding. The above looks worth to try but I would like to know more on why it cannot be done...are the user objects acquired from "getUserByLoginId" and "logon" totally different?
In general, is the above steps a correct way to get user object for modification (e.g. modify the phone number) by API (e.g. by administrator running a custom Java program)?
Thanks,
John