Oracle Discussions Java API Reference
10g Release 1 (10.1.2)

B25496-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:
OracleUserConnectInfo, TdUser, TdUserProfile

Method Summary
 TdUserProfile getUserProfile(java.lang.String userEmail)
          Returns the profile of a user given a valid email address.
 boolean isDasViewUserEnabled()
          Returns true if Das View User is enabled for this session.
 boolean isRtcPresenceEnabled()
          Returns true if Presence integration is enabled for this session.

 

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.

isRtcPresenceEnabled

public boolean isRtcPresenceEnabled()
Returns true if Presence integration is enabled for this session.

isDasViewUserEnabled

public boolean isDasViewUserEnabled()
Returns true if Das View User is enabled for this session.

Oracle Discussions Java API Reference
10g Release 1 (10.1.2)

B25496-01

Copyright © 2002, 2005, Oracle. All rights reserved.