Design Studio javascript, retrieving NAME field from LSF9 Resource Mgmt

Sort:
You are not authorized to post a reply.
Author
Messages
Scooter
Veteran Member
Posts: 83
Veteran Member
    With Design Studio javascript, how do you retrieve NAME from LSF9 Resource Mgmt with the UserID?

    David Williams
    Veteran Member
    Posts: 1127
    Veteran Member
      // 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
        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
          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.
            You are not authorized to post a reply.