Oracle Collaboration Suite Discussions Java API Reference
10g (10.1.1)

Part No. B16232-01


oracle.discussions.sdk
Interface TdUserProfileManager


public interface TdUserProfileManager

Provides accessors for loading user's profile for this TdStore.

User profile includes the attributes of a user like

Sample code snippet illustrating the usage of TdUserProfileManager

 //tdStore is an instance of TdStore class.
 //Extract the user profile manager from td store.
 TdUserProfileManager tdupm = tdStore.getUserProfileManager();
 //Get the user profile for the email address, from the TdUserProfileManager.
 //emailId is the email address for which the user profile is being extracted.
 TdUserProfile = tdupm.getUserProfile(emailId);
 
Since:
OCS 10.1.1
See Also:
oracle.mail.sdk.esmail.OracleUserConnectInfo.java, TdUser.java, TdUserProfile.java

Method Summary
TdUserProfile getUserProfile(java.lang.String userEmail)
Returns the profile of a user given a valid email address.

Method Detail

getUserProfile

public TdUserProfile getUserProfile(java.lang.String userEmail)
                             throws TdException
Returns the profile of a user given a valid email address.
Parameters:
userEmail - the email address which is used to extract user profile.
Returns:
TdUserProfile the user profile which is extracted
Throws:
TdException - Oracle discussions generic exception. May be thrown when trying to extract OracleUserConnectInfo.

Copyright © 2005, Oracle. All rights reserved.