I'm using the following code snippet to get the domain name/user id in IE.

domainAccount=request.getRemoteUser();

this works fine but, if I try to run this on Mozilla firefox, it just returns the userid ,
So what should I do to get same result in IE and Mozilla.
Actually domain name and userId both are must for my application.

Can anybody help on this??