Get another end users details

Hi All,

I have added an extended attribute to IDM 'prefEmail' and would like to display the value on a page.

The context is: I am logged in as User A, and on one of the pages I wish to display the 'prefEmail' value of another user (i.e. their idmManager).

What call should I be making, I have used getObject to obtain the idmManagers 'fullname', but the returned object does not contain the extended attribute.

And Help out there?

Thanks

Anthony

[496 byte] By [wispera] at [2007-11-27 9:06:15]
# 1

Hi Anthony,

If you have to get the details of any user(say manager) you need to first create an object for that user and then only you will be able to access the attributes.

You have first create the user object for the user 'idmManager'.

For creating the user object you can used the method 'getObjectIfExists' or you can do the way you have initialised for the logged in user.

imsaia at 2007-7-12 21:41:29 > top of Java-index,Web & Directory Servers,Directory Servers...