I have 3 security provider for my web application 1. Active Directory 2. ADFS 3. SAML
Now suppose a user exist in all 3 provider.Hence when i do use ensure user method i get error/ exception "user not found". I want that my code should always get the user from active directory and if not found through user not found error.
Can anyone provide me with code snippet.