HI
You can create the Seperate Class for the Featching Role as whatever you do
That Role Should be stored in the session variable
Session["Role"]="Role";
This Will help you to get role everywere
and you can get the session value in usercontrol
String strRole=Session["Role"].ToString(); //Or what ever you want this is just example
and accordingly you can do the operation on panel
Please Mark As Answer if it Helps You