Skip Headers

Oracle® Application Server Portal Developer's Guide 10g Release 3 (10.1.3) B25601-01 |
| Home | Solution Area | Contents | Index

Previous | Next |

# 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 OracleAS Portal and Oracle Internet Directory, and `userProfileItems` in WSRP. Note that for OracleAS Portal Release 2 (10.1.4), 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 OracleAS 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 OracleAS 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

OracleAS 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