View Single Post
  #1 (permalink)  
Old September 20th, 2011, 08:23 AM
Sapan Sapan is offline
Registered User
Points: 10, Level: 1
Points: 10, Level: 1 Points: 10, Level: 1 Points: 10, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2011
Location: New Delhi, India
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
Default how to query database tables depending on the logged-in user.

Hello,
I would like to know how to limit a logged-in user to view and edit data that were entered by him only. I am not talking about personal information of each user that could be dealt with profiles. I am talking about any other data.
Additionally, I also want to know how can an another person, say a manager, can view all data entered by all users.
Any useful reply is welcome but since I am following Imar since asp.net 3.5 I would love to hear from him.
Thanks,
Sapan
Reply With Quote