Get windows account details from user

  • Thread starter Thread starter McGeeky
  • Start date Start date
M

McGeeky

Hi. We are using Windows authentication and can easily get the Windows login
account name through Context.User.Identity.Name. But is there a way to
retrieve the First Name and Last Name properties of the login from Active
Directory?

Thanks
 
Yes you will have to query the Active Directory using LDAP
Do some search on how to query AD
Patrick
**fro more questions post it
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top