TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
ASP DotNet
NA
2
3.7k
Find Role of logged in user and redirect based on role membe
Dec 6 2012 3:14 PM
Hi,
I am pretty new in ASP.NET c#. But i am getting a good hold of it. There are all the time new things a new learner comes up with though and spends hours together finding out a solution.
Here is my issue.
I have a ASP.NET
membership
setup. I have a asp login system on the website. I have created 2 roles Administrator and Users.
I have 1 user in Administrator and 1 in Users currently for my testing purpose.
Now when the user logs in to the system i want to check there roles and if the role of teh logged in user is Administrator then send them to a specific folder called admin or else send them to the default.aspx in root directory.
How do we find the Role of logged in user and redirect accordingly.
Thanks in advance.
Sunny
Reply
Answers (
1
)
how to load the clicked audio file in to windows media player? using javascript for html page.
when i click the drop down that value should be come in text box how to do in asp.net with csharp