J
Jarod
Hey
I want to setup diffrent access permision to each page maybe even for some
elements on the page. What's the easiest way to do it ? I plan do develop
something like HasModuleAccess(string pageName,string moduleName) function
and depending on this check... Maybe already there is something like this ?
I could use roles but what's the way to check the role without hardcoding
it's name ? So for example I have my page only for AdminUsers:
Roles.IsInRole("AdminUsers") - > ok works perfect.. but what if the user
changes name of the role or want's to add a new roles... What's best
solution in this case ?
Jarod
I want to setup diffrent access permision to each page maybe even for some
elements on the page. What's the easiest way to do it ? I plan do develop
something like HasModuleAccess(string pageName,string moduleName) function
and depending on this check... Maybe already there is something like this ?
I could use roles but what's the way to check the role without hardcoding
it's name ? So for example I have my page only for AdminUsers:
Roles.IsInRole("AdminUsers") - > ok works perfect.. but what if the user
changes name of the role or want's to add a new roles... What's best
solution in this case ?
Jarod