Access levels in theme files

Is there a way to integrate access levels in a custom theme file rather than using the shortcodes or the WP do_shortcode? I couldn’t find a direct php integration in the manual or any place else…then again, I may have skipped over it or not looked in the right place.