on May 12th, 2015, 10:32am, Daniel Atwill wrote:| I've tried to look up ways of finding out a users status (i.e. Admin or not) |
|
Code: CALLDLL #shell32, "IsUserAnAdmin", admin AS LONG
IF admin THEN
PRINT "User is an admin"
ELSE
PRINT "User is not an admin"
END IF
(The function is deprecated, but seems to work in Windows 8.1. It is not available in Windows 2000.)
Richard.