Design Studio javascript, retrieving NAME field from LSF9 Resource Mgmt

 4 Replies
 0 Subscribed to this topic
 12 Subscribed to this forum
Sort:
Author
Messages
Scooter
Veteran Member
Posts: 83
Veteran Member
New Poster
New Poster
Congrats on posting!
With Design Studio javascript, how do you retrieve NAME from LSF9 Resource Mgmt with the UserID?

David Williams
Veteran Member
Posts: 1127
Veteran Member
New Poster
New Poster
Congrats on posting!
// portalWnd.oUserProfile.getAttribute("name")

Within Portal: CTRL-ALT-A will show you a list of user attributes which can be pulled using this call.
David Williams
Scooter
Veteran Member
Posts: 83
Veteran Member
New Poster
New Poster
Congrats on posting!
Thanks for reply.
But, if I have the userid, how can the user's name be retrieved using portalwnd.oUserProfile.getAttribute ?
David Williams
Veteran Member
Posts: 1127
Veteran Member
New Poster
New Poster
Congrats on posting!
You don't have to, the call works for whoever is logged into the form.
David Williams
techguru
Basic Member
Posts: 5
Basic Member
Hi Scooter,
You can only get the information about the current logged in user.
You can not retrieve the information of some other userid as you used to do in RD30 record.
If you want to get a name of a userid other than the current user, then you will have to write a perl/CGI script and establish a connection to the ldap.

Regards.