|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines the Process Manager representation of a corporate directory user entity. Every user attribute that is available from the user entry can be accessed via this interface. For example, suppose we have an LDAP user entry for user id joe:
ICorporateDirectory cd = cluster.getCorporateDirectory();
IParticipant p = cd.getUserById( "joe" );
java.lang.System.out.println( "Joe's email is " +
p.getPropertyValue( "mail" ) );
java.lang.System.out.println( "Joe's favorite color is " +
p.getPropertyValue( "favoritecolor" ) );
In the case of LDAP user entries, multi-valued attributes are supported
as a java.util.Vector of values being returned from
getPropertyValue
.
ICorporateDirectory
Method Summary | |
java.util.Enumeration |
getPropertyKeys()
Returns a list of the attribute keys the participant contains. |
java.lang.Object |
getPropertyValue(java.lang.String key)
Returns the value of a specific participant property. |
java.lang.String |
getUserId()
Returns the user id (UID) of the participant. |
Method Detail |
public java.lang.String getUserId()
public java.util.Enumeration getPropertyKeys()
public java.lang.Object getPropertyValue(java.lang.String key) throws PMException
key
- the user attribute keyPMException
- if no such attribute exists.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |