Controls based on roles or logged in
Posted on 2007-11-29
How do I wrap code around a user control in order to indicate that it should only be displayed if the user has a certain role?
Same also for only displaying if a user is logged in?
I know how to register one and put it on the page, I just don't know how to do the if/else stuff.