Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Vitamin C Library - name <b>haveauth</b> -- check security clearance http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
name            haveauth  --  check security clearance

synopsis        ret = haveauth(authlevel,task);
                COUNT ret;       returns true or false
                COUNT authlevel; security
                COUNT task;      VIEW or EDIT

description  Compares the current users access level (stored
           in the global COUNT variable 'userlevel' by the
           programmer) with the 'authlevel' parameter to see
           if the user has clearance for the desired operation.
           Used internally by "gets".  Returns TRUE if valid
           user, FALSE if invalid user or access level too
           low.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson