User Tools

Site Tools


determining_20if_20the_20user_20is_20an_20administrator

Determining if the user is an administrator

by Richard Russell, October 2011

The code listed below reports whether the user is currently logged-in as an administrator or not:

        SYS "IsUserAnAdmin" TO res%
        IF res% THEN
          PRINT "The current user is an administrator"
        ELSE
          PRINT "The current user is not an administrator"
        ENDIF
This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information
determining_20if_20the_20user_20is_20an_20administrator.txt · Last modified: 2018/04/14 20:58 by richardrussell