determining_20if_20the_20user_20is_20an_20administrator
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| determining_20if_20the_20user_20is_20an_20administrator [2018/03/31 13:19] – external edit 127.0.0.1 | determining_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 " | SYS " | ||
| 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 | ||
| + | </ | ||
determining_20if_20the_20user_20is_20an_20administrator.1522502355.txt.gz · Last modified: 2024/01/05 00:18 (external edit)