02-17-04 08:33 AM
Hello,
This is not possible since the user wrapper object can not pull more than
one attribute at a time. We have previously opened a PMR on this one and it
seems like there is a solution being implemented in 5.0.2.1.
Regards,
Matt
"Fredrik Andersson" <fidde7600@hotmail.com> wrote in message
news:c0teme$5hhm$1@news.boulder.ibm.com...
> Hi,
>
> I am developing a theme for WebSphere Portal v5 and I need to obtain a
> multivalued field
> from the user registry (an LDAP server).
> By fetching the PUMA User object from the session, and editing
> <portal server dir>/wmm/wmmLDAPServerAttributes.xml I am able to read the
> first value of
> the field by calling user.getAttribute().
> However, since I can't be guaranteed that it is the first value that I
> need, I must be
> able to read the other values as well. Is there anyone who has been able
to
> do this from
> within a theme?
>
> Attribute mapping for the field in <portal server
> dir>/wmm/wmmLDAPServerAttributes.xml:
>
> <attributeMap
> wmmAttributeName="someField"
> pluginAttributeName="someField"
> applicableMemberTypes="Person"
> dataType="String"
> valueLength="128"
> multiValued="true" />
>
> Regards,
> Fredrik Andersson
>
>
[ Post a follow-up to this message ]
|