|
Im running an asp.net application that uses windows authentication. My program is sitting on an intranet.
Im trying to get to the details of my users so I can display their last name and first name.
I can display their login name like so: HttpContext.Current.User.Identity.Name
I can display their windows identity like so: =System.Security.Principal.WindowsIdentity.GetCurrent.Name.ToString()
In control panel>Admin tools>Computer Management I can look at users and groups and see that a user has a number of fields associated with him/her. For example Alias, Assistant, City, Fax Number, First Name etc,...)
Im just not sure how to go about doing so. I've researched it a bit and found that I should probably be using Active Directory/LDAP and sample code gives me the following error:
The specified domain either does not exist or could not be contacted.
I cannot get identity impersonate="true"/ to work either.
At this point I dont know even where I should start. Some help and/or sample code would really help
Thanks
Dave
|
|
|
|
|
|
|
|