display content depending on which user in asp.net
i have four differn开发者_如何学Pythonet data entry users that will be using four different forms on my asp.net application to enter data into a database.
i currently have windows authentication so that the user will not see the other user's form.
my question is how can i send all the four groups the same link http://website....default.aspx and have it display content SPECIFICALLY for that users?
You have a few options:
- Have your link discover the logged-in user and forward them to a different page.
- Dynamically build the form you want them to see based on the logged-in user.
- (Warning: don't use this) Use CSS to hide the form elements you don't want them to see.
Without knowing more about the problem, this is the best answer I can give.
精彩评论