Avatar of bemara57
bemara57
 asked on

Is there a way to get the Internet Guest Account name of the web app?

I'm trying to get the anonymous user account name that is set for the web application in IIS. Is there a way to do this?
C#

Avatar of undefined
Last Comment
REA_ANDREW

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
REA_ANDREW

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
REA_ANDREW

I mean to say, that it would still work with Impersonation but return the user name of the account you are impersonating lol, so without impersonation you get the default account, i.e. ASPNET I would have thought is your default!

Andrew
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes