Avatar of T Hoecherl
T Hoecherl
Flag for United States of America asked on

Identify Active Directory user

I am developing a VB.net application which will be used in 2 different scenarios.  In one scenario, users will be accessing the program via Terminal Server and in the other scenario, they will be accessing via Citrix.  I'm hoping the same answer will serve for both scenarios, but if not, I need to know what to do in both cases.  Here is the question:

For the security I will be building in to the application, I need to capture the user id of the person accessing the application.  I know how to do that if a program is accessed directly from a  user workstation, but I don't know how to do it when several users will be accessing the application after they have logged in, via TS in one case and Citrix in the other, to the machine where the application resides.  I need to capture the active directory user id of the individual.  Is there a way to accomplish this?

Microsoft Development.NET ProgrammingVisual Basic.NET

Avatar of undefined
Last Comment
T Hoecherl

8/22/2022 - Mon
Ron Malmstead

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
T Hoecherl

Perfect.  Thank you.
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck