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. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
determining_20if_20the_20user_20is_20an_20administrator.txt · Last modified: 2024/01/05 00:22 by 127.0.0.1