Skip to Content
Former Member
Sep 17, 2008 at 01:34 PM

Getting the currently logged in user in a Composite Application


Hi Experts,

I have created a Composite Application, the UI layer includes VC and the I have created a Process in GP.

I need to get the currently logged on user.

I have used the following API

IUser user= UMFactory.getLogonAuthenticator().getLoggedInUser();
String ret = user.getName();

But it gives me the user name : Guest (we usually get this when there is no user assigned or the user is not found)

So, is there a problem with the way I am trying to obtain the username or something with the way the user description is stored in the system ?

--- Brian