Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting user info from Active Directory

Status
Not open for further replies.

mcp87

MIS
Oct 5, 2004
17
US
Hi all!

I am trying to make a Asp .Net page that will get the currenly logged in user from the Server Varibles and then user that user name and get the groups and some other info like frist and last name without the user having to reenter there password.

The web server required that all visitors be authicated to the domain in order to see the page. So how go about getting the users information snice they are already authicated?

 
Try using:
Code:
If User.Identity.IsAuthenticated Then
...do stuff...
End if

JIm
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top