How can i make User Info Channel look for first name, last name in Ldap?

I am using iPortal 3.0 SP3a
[41 byte] By [708899] at [2007-11-25 4:35:38]
# 1

Use Profile API to get the particular attributes from LDAP.

example:

JSPProvider p=(JSPProvider)pageContext.getAttribute("JSPProvider");

Session ses=p.getSession();

Profile pro=ses.getUserProfile();

String fname=pro.getAttributeString("iwtAuthMemebership-usersFirstName");

-SaralaVijay

For reference look into the Javadocs of iPS

708850 at 2007-6-29 2:48:01 > top of Java-index,Web & Directory Servers,Portal Servers...
# 2

You have to setup external ldap configuration to make this work.

Go to the admin console and manage domains/domain name. Now you will see external ldap configuration there, click on it and give your ldap server name and configuration there. Now scroll down to the bottom of the page and look for attribute mapping.

Here you map the portal attributes with your external ldap attributes. for example

you would map something like this

iwtUser-firstName=firstName

This would map portal attributes with your ldap server ..

Take a look at this article for more info ..

http://knowledgebase.iplanet.com/ikb/kb/articles/4650.html

HTH ..

Karthik_Krishnamoorthy at 2007-6-29 2:48:01 > top of Java-index,Web & Directory Servers,Portal Servers...