User Tools

Site Tools


determining_20if_20the_20user_20is_20an_20administrator

This is an old revision of the document!


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.1522502355.txt.gz · Last modified: 2024/01/05 00:18 (external edit)