Setting permissions through code

Posted by Community Admin on 04-Aug-2018 06:10

Setting permissions through code

All Replies

Posted by Community Admin on 27-Mar-2014 00:00
Hi. Am trying to make a user control through which I want to auto generate pages on a button click. But, I am getting an error that the user is not authorized to generate pages. Can you please help me with how I can set permissions through my code itself using c#.
This thread is closed