Skip to Content
0
Former Member
Oct 13, 2006 at 05:38 PM

How to get UserId??

12 Views

Hi,

I am trying to get the Uid using the following code.

IUser myUser = request.getUser();

String uid=myUser.getUid();

but I am getting the userid as USER.CORP_LDAP.uid=xxxx,ou=partners,o=xxxxx,c=us.

How do I get just the plain userid.

thanks