Hi nprignano,
The script is running on the browser and it is some client side code that I am after.
I only added that we use Notes/Domino to serve up our pages for completeness.
Thanks for the comment.
Paul
Main Topics
Browse All TopicsHi
Firstly I hope this is the right place to post, if it isn't could someone tell me where to go, nicely
We have an Intranet and when people are in the office we capture their details like this so that we can personalise the page they see:
var WshNetwork = new ActiveXObject("WScript.Net
alert("using the WScript method");
alert(WshNetwork.Username)
alert(WshNetwork.UserDomai
or
var oShell=new ActiveXObject("WScript.She
alert("using the oShell method");
alert(oShell.ExpandEnviron
alert(oShell.ExpandEnviron
but when the person is logged on to Citrix all this reports is the local username and domain and not the one they are logged into.
Is there a way to ascertain who is logged on in the browser when the person is at home ?
I should add that we are using Lotus Notes / Domino to display our Intranet
Thanks
Paul
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Right - what I am driving at is that the method you are using (WSH) is going to return a different username if it is run on the client's local PC than if it is run on the Citrix server. I do not think you are going to be able to achieve your goal using WSH unless you force the home users to access the Intranet as a published application that runs on the Citrix server.
Thanks for the comment.
I agree that the WSH method is not going to work I only included it for completeness and to give a better idea of what I was trying to achieve.
What I was looking for was maybe an equivalent method using a Citrix or some other property that I don't know about, which is why I needed a Citirx expert to help me :-)
Cheers
Paul
Thanks for that but I don't understand it !!
I work on our Intranet and so am a Citrix imbecile - could you flesh out your answer a little so that I could pass it to our Networks department (which is the one that looks after the Citrix machine). Or is your answer already sufficient for a Citrix administrator to understand ?
Thanks
Paul
Your Citrix admin should understand, but specifically, they would need to create a published application that opens a published web browser which opens specifically to your Intranet - this can be done with command line arguments for a published instance of Internet Explorer, or using published content and publishing the URL to open on the server in the default browser. Let me know if the Citrix admin has any questions for making that happen.
Business Accounts
Answer for Membership
by: nprignanoPosted on 2009-03-16 at 14:55:02ID: 23902857
If it is displaying the local username and password, it sounds like the script is running on the local browser. Where is the script running - you say Lotus Notes - is Notes published or locally installed?