Board Thread:General Coding Help/@comment-4568327-20170731221759/@comment-26497423-20170731222158

For checking against non-logged in users, this should do the trick. For checking for autoconfirmed users, use this