7
In my application I use the authentication mode="Windows"
as a form of authentication.
This way, I can know the user name, referring to the field in AD and the domain of the same using HttpContext.Current.User.Identity.Name
, ex: DOMAIN\username
.
I would like to know if I can recover other user information like email, description, etc.
Using the ActiveDirectoryMembershipProvider I have access to other fields, like userprincipalname, samaccountname, mail, etc
.
I wonder if using the authentication mode="Windows"
I can return that data.
If not, I can return some other data other than authentication mode="Windows"
?
@Marconi I have already checked this, but not found it. I am using Identity, with Authentication mode="windows". With that, I’m not able to access these properties.
– Randrade