[2.0] role based question

L

Lloyd Dupont

Basically there is an 'edit' link button which let the user edit the page's
content.
and a submit button to send back the edited content.

1. I want the edit asp:LinkButton visible on the page only if the current
user has a certain role, how do I do that?
2. I want the submit button to fail if the user don't have role and return a
standart 403 error, how do I do that?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,779
Messages
2,569,606
Members
45,239
Latest member
Alex Young

Latest Threads

Top