Hello DNN Community,
I have background in HTML & CSS but not as adept in Razor/C# or JS and am looking to display certain html content conditionally based on a logged-on users role.
I know I can change the display of an HTML module to any role but i'm more interested in understanding how to create Razor scripts that do a similar function for purposes of pages that do not exist i'd like to implement some code in my skin elements that display only to certain roles.
If anyone could point me in the right direction as to if this is something that could be done through razor/javascript and perhaps some documentation / websites I could review.
Thank you,
Alex