Developer forum

Forum » Ecommerce - Standard features » User credentials from AD in templates

User credentials from AD in templates

Grant Menzies
Reply

If possible, what is the correct way to obtain user credentials after a user has signed in with AD.
Say we have the following from AD:

Name
Email
Phone

How do I get this information to use in templates?

We are running 8.5.1.28


Replies

 
Nicolai Pedersen
Reply
This post has been marked as an answer

Only the FullName property from the AD is available - it is stored in the HttpContext.Current.Session("DW_extranet_username") session.

Other properties you have to load yourself: http://stackoverflow.com/questions/637486/how-to-get-the-current-users-active-directory-details-in-c-sharp

Votes for this answer: 1
 
Grant Menzies
Reply

Ok, Thanks! :)

 

You must be logged in to post in the forum