cancel
Showing results for 
Search instead for 
Did you mean: 

Getting logged userid / userattributes via JavaScript

Former Member
0 Kudos

Hi,

I would like to get the userid and some UME details(for example: name, address and so on)  of the logged user via JavaScript.

Is it possible and how?

Would like to start a HTML form and fill the form with user specific informations.

Thanks a lot for helping 🙂

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Easy as cake: write an APC delivering the information you need with UME API and call this component with an AJAX call using XMLHttpRequest or Jquery from your JS source

cheers

Former Member
0 Kudos

Sorry, but what is a APC? 🙂

I had about the same idea to code a servlet and then it call with Jquery.

Thx

Former Member
0 Kudos

APC = Abstract Portal Component, in fact stuff like:

public class Yourclass extends AbstractPortalComponent

cheers

Answers (0)