?
Solved

get iis iusr programmatically

Posted on 2011-03-11
4
Medium Priority
?
766 Views
Last Modified: 2012-05-11
Can anyone tell me how to get through VB.NET ?

domain\IUSR_xxx
0
Comment
Question by:triplebd69
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 30

Accepted Solution

by:
Brad Howe earned 1500 total points
ID: 35111343
Hi,

The IUSR account is the anonymous user account that IIS manages. If you have domain\IUSR_XXX then IIS is installed on a Domain controller.

With that said, what are you trying to do?

Cheers,
Hades666
0
 

Author Comment

by:triplebd69
ID: 35128330
Thanks, what I am trying to do is pull that value back and assign it a variable.

i.e. - x = domain\IUSR_xxx
0
 

Author Comment

by:triplebd69
ID: 35128394
Here is the code to get the info, if anyone else needs it.

x = System.Security.Principal.WindowsIdentity.GetCurrent.Name
0
 

Author Closing Comment

by:triplebd69
ID: 35128400
Got me looking in the right direction.
0

Featured Post

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
Lync server 2013 or Skype for business Backup Service Error ID 4049 – After File Share Migration
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question