Currently we are setting either mail or sAMAccountName in user attribute in web.config.
Could you please help to keep both mail as well as sAMAccountName together in web.config file?
I tried using sAMAccountName in userNameAttribute in below code in web.config file of SharePoint application.It is working fine with domain name.
Then I tried using mail in userNameAttribute in below code in web.config file of SharePoint application.It is working fine with email address.
we want both to be worked in one go.
Then I tried using mail in userNameAttribute in below code in web.config file of SharePoint application.It is working fine with email address.
we want both to be worked in one go.
Hide Copy Code
Replies
Know the answer? Post it — somebody with the same question will find it here.