Dynamic user control display based roles

Posted by Naga116 under ASP.NET on 9/18/2014 | Points: 10 | Views : 1517 | Status : [Member] | Replies : 4
Hi

1. Dynamic user control display based roles. Please suggest best approach with example..

Nagaraju


Responses

Posted by: Naveenhcl on: 9/18/2014 [Member] Starter | Points: 25

Up
0
Down
Hi,

I can't able to get your point what you want exactly.?

I think you are looking for display the controls based on Role wise right.?

If you are looking for the same then refer below sample and implement for the same in your application.

if(rolename=="Manager")

{
//do your stuff
}


if you are looking something different then please elaborate your issue for getting better responses from our end.

Naga116, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Naga116 on: 9/18/2014 [Member] Starter | Points: 25

Up
0
Down
There is a requirement like, having multiple user each should get different home page..

Please advise me.

like : Radiology department, cardiology dept, billing dept and operation dept.. all the user should get different login page or user control..

Nagaraju

Naga116, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Naveenhcl on: 9/19/2014 [Member] Starter | Points: 25

Up
0
Down
Hi,

If you want to redirect different pages based on your role then whatever I suggest in my previous post that is working, you just use that when you need to redirect to new page.

Naga116, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response