Skip Headers
Oracle® Fusion Middleware Developer's Guide for Oracle Portal
11g Release 1 (11.1.1)

Part Number E10238-05
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

C Mapping Profile Items to Attributes

When developing portlet functionality that requires access to a user's identity, you often need to map between attributes in Oracle Portal and Oracle Internet Directory, and userProfileItems in WSRP. Note that for Oracle Portal, these attributes are static and cannot be configured. This appendix provides a table that shows the mapping between various attributes.

C.1 Mapping userProfileItems to Attributes

Table C-1 provides a mapping of userProfileItems to Oracle Internet Directory and Oracle Portal attributes.

Note:

In cases where the Oracle Internet Directory attribute holds a complex string, like homePostalAddress, it is parsed into the needed component strings. The delimiter is assumed to be the dollar sign ($). For example, suppose you had the following value for homePostalAddress in Oracle Internet Directory:

123 Main St$$$Smallville$NY$10001

In the Oracle Portal profile attributes, this string would be parsed as follows:

  • 123 Main St goes into HOME_ADDR1.

  • Smallville goes into HOME_CITY.

  • NY goes into HOME_STATE.

  • 10001 goes into HOME_ZIP.

Table C-1 userProfileItems Mapping

Oracle Portal Profile Attributes Oracle Internet Directory Attributes WSRP userProfileItems

FIRST_NAME

givenName

name/given

LAST_NAME

sn

name/family

MIDDLE_NAME

middleName

name/middle

KNOWN_AS

displayName

name/nickname

DATE_OF_BIRTH

orclDateOfBirth

bDate

ORGANIZATION

o

employerInfo/employer

TITLE

title

employerInfo/jobtitle

HOME_ADDR1

homePostalAddress

homeInfo/postal/name

HOME_ADDR2

 

homeInfo/postal/street

HOME_ADDR3

 

homeInfo/postal/organization

HOME_CITY

 

homeInfo/postal/city

HOME_STATE

 

homeInfo/postal/stateprov

HOME_ZIP

 

homeInfo/postal/postalcode

HOME_COUNTRY

 

homeInfo/postal/country

HOME_PHONE

homePhone

homeInfo/telecom/telephone/number

OFFICE_ADDR1

street

businessInfo/postal/name

OFFICE_ADDR2

 

businessInfo/postal/street

OFFICE_ADDR3

 

businessInfo/postal/organization

OFFICE_CITY

l

businessInfo/postal/city

OFFICE_STATE

st

businessInfo/postal/stateprov

OFFICE_ZIP

postalCode

businessInfo/postal/postalcode

OFFICE_COUNTRY

c

businessInfo/postal/country

WORK_PHONE

telephoneNumber

businessInfo/telecom/telephone/number

FAX

facsimileTelephoneNumber

businessInfo/telecom/fax/number

MOBILE_PHONE

mobile

businessInfo/telecom/mobile/number

EMAIL

mail

businessInfo/online/email