Need to restrict access at class level

I need to restrict access at a class level, can I use a do_shortcode function and add the access level shortcode? Please say yes. My email is jeff@flawlessenterprises.us.