User Tools

Site Tools


determining_20if_20the_20user_20is_20an_20administrator

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
determining_20if_20the_20user_20is_20an_20administrator [2018/03/31 13:19] – external edit 127.0.0.1determining_20if_20the_20user_20is_20an_20administrator [2024/01/05 00:22] (current) – external edit 127.0.0.1
Line 1: Line 1:
 =====Determining if the user is an administrator===== =====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:\\ +//by Richard Russell, October 2011//\\ \\  The code listed below reports whether the user is currently logged-in as an administrator or not: 
 + 
 +<code bb4w>
         SYS "IsUserAnAdmin" TO res%         SYS "IsUserAnAdmin" TO res%
         IF res% THEN         IF res% THEN
Line 8: Line 10:
           PRINT "The current user is not an administrator"           PRINT "The current user is not an administrator"
         ENDIF         ENDIF
 +</code>
determining_20if_20the_20user_20is_20an_20administrator.1522502355.txt.gz · Last modified: 2024/01/05 00:18 (external edit)