I have some clarification to clear MVC user role. I have a page to access some user and as well some user cannot use those pages.So i need to validation user id check whether this user id have access to permission see this page. Can you help me out sort out this issue i want validation.
if (user id =access denied )
{
should be retrun error message that user cannot see this page
}
else
{
should access and show this page
}
Can you help me