Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Oct 02, 2008 12:31 PM by shapper
Contributor
3932 Points
3789 Posts
Oct 02, 2008 12:31 PM|LINK
Hello,
I need to get two lists of the route names in my MVC application:
List 1 > All routes that don't need authentication
List 2 > All routes that need authentication but that the Role associated to it is not Administrator.
I am using ' Authorize(Roles = "Administrator") ' to set which action needs the user to be authorized and which role it needs to have.
Is this possible?
Thank You,
Miguel
shapper
Contributor
3932 Points
3789 Posts
List of Routes on Authorization and Role
Oct 02, 2008 12:31 PM|LINK
Hello,
I need to get two lists of the route names in my MVC application:
List 1 > All routes that don't need authentication
List 2 > All routes that need authentication but that the Role associated to it is not Administrator.
I am using ' Authorize(Roles = "Administrator") ' to set which action needs the user to be authorized and which role it needs to have.
Is this possible?
Thank You,
Miguel