Obtain User ID within Citrix environment with VBA

Hello Folks

I have been using the fOSUserName function to obviously obtain a user's ID.

This has been working with in the Windows environment but when the same code is transferred over to a Citrix environment I am unable to obtain the User ID.

Can you please advise, if available, the vba coding to use in order to obtain the ID within Citrix?

I am currently obtaining the User ID via Access VBA.

Thank you in advance.
Dale JamesTherapistAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dale FyeOwner, Developing Solutions LLCCommented:
Why is fosUserName not working for you?  I use it in my applications where I login via Citrix, and it returns the same userID I use to log in as.  You don't have multiple people signing into Citrix with the same userid and password, do you?

Dale

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Dale JamesTherapistAuthor Commented:
Hello Dale

Thank you for getting back to me.

You could be right there Dale. That was something that didn't occur to me.  I will just check that condition first and then provide an update.

Dale
Dale JamesTherapistAuthor Commented:
Hello Dale,

Yes, you were right.

It was occurring whilst team members were awaiting to be assigned IDs.

As always...your assistance is much appreciated.

Dale
Dale FyeOwner, Developing Solutions LLCCommented:
glad I could help
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Citrix

From novice to tech pro — start learning today.