Skip to Content
0
Former Member
Oct 12, 2010 at 06:38 PM

How to access to logged users atributes via WS

23 Views

hi, i have a problem with creating web service. the ws would return a current logged in user.

public String getUser() {

IUser user = null;

user = UMFactory.getAuthenticator().getLoggedInUser();

String out = user.getLastName()" "user.getFirstName();

return out.toString();

}

this code not working for me. always returned Ghost.

thanks for your replies

Edited by: rawkus on Oct 12, 2010 8:38 PM