Click here to Skip to main content
15,887,175 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi friends,,,,


I have a table called CallRegister and we are maintaining all the Call records in it.



As a admin i can see all the call records but i don't want my executives can see all the records. They can see only their records which they have entered into software.


I have a grid and i have coded as

select *from CallRegister where username=Textbox1.text


please suggest me how can restrict data access to user levels using SQL queries.
Posted

1 solution

You have to use Row Level Security(RLS).

Detail about this can be found at below location :-

http://msdn.microsoft.com/en-us/library/bb669076.aspx[^]
 
Share this answer
 

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