Solved

get iis iusr programmatically

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

domain\IUSR_xxx
0
Comment
Question by:triplebd69
  • 3
4 Comments
 
LVL 30

Accepted Solution

by:
Brad Howe earned 500 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Got me looking in the right direction.
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

743 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now