H
Haris
Is it possible to configure webcontrol properties through Web.Config and
also to combine these with autorisation?
It would look something like this:
<location path="Admin">
<system.web>
<form id="newUser">
<control id="userRank">
<authorization>
<allow roles="administrator"/>
<deny users="*"/>
</authorization>
</control>
</form>
</system.web>
</location>
This would mean that only if a user has role of "administrator" he would
be able to see the control "userRank" in the form "newUser"
TIA
Haris
also to combine these with autorisation?
It would look something like this:
<location path="Admin">
<system.web>
<form id="newUser">
<control id="userRank">
<authorization>
<allow roles="administrator"/>
<deny users="*"/>
</authorization>
</control>
</form>
</system.web>
</location>
This would mean that only if a user has role of "administrator" he would
be able to see the control "userRank" in the form "newUser"
TIA
Haris