|
Oracle Collaboration Suite Discussions Web Services Java API Reference 10g (10.1.2.2) Part No. B28210-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Webservice interface providing Oracle Discussions user access operations. Provides the following methods to retrieve a OCS user based on the user's attributes.
//Initialize the webservice locator.The locator contains information about webservices endpoint. UserServiceServiceLocator mdssl = new UserServiceServiceLocator(); //Retrieve a reference to the remote webservices interface. UserService mdsl = mdssl.getUserService(); //Notify the axis server that client is interested in maintaining session. ((UserServiceSoapBindingStub)mdsl).setMaintainSession(true); //Set the cookie, retrieved during login service invocation. ((javax.xml.rpc.Stub)mdsl)._setProperty(HTTPConstants.HEADER_COOKIE,cookie); //Invoke the webservices method. User user = mdsl.getUserByNickname("td_superuser"); { //Process the user bean ........ }
Method Summary | |
User |
getUserByEmail(java.lang.String userEmailAddress) Returns the user based on the user's email address. |
User |
getUserByNickname(java.lang.String userNickname) Returns the user based on the user's nickname. |
Method Detail |
public User getUserByNickname(java.lang.String userNickname) throws TdWSException
userNickname
- - User's nickname on which the user is to be retrieved.TdWSException
- - Thrown on any error in retrieving the user or if the user nickname is not found in the OID.public User getUserByEmail(java.lang.String userEmailAddress) throws TdWSException
TdWSException
- - Thrown on any error in retrieving the user or if the user email is invalid.
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |