Click here to Skip to main content
15,868,016 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have been searching for an answer on the web for this and cant seem to find one, not sure if I am wording my search incorrectly or not.

If I have a contact table:
FirstName | LastName | Owner

Owner links to the ASP Identity table

How when my user logs in will can I make it that it only shows them their results?
Posted
Comments
Nathan Minier 20-Aug-14 8:12am    
Sure, add their SID (or their username) as a field in the table. Or, if you're in an LDAP environment, get the relevant fields from System.DirectoryServices and filter that way.

You just need to relate two data sources, a DB and the directory.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900