Is currentUser a Local Administrator
This procedures checks to see if the currently logged in user is a Local Administrator. It does not matter if the user or computer is Domain or not. If noone is logged in, it tests Last logged in user.
Procedures loads the localGroup Administrators into a variable then compares to see of currentUser is in there. If noone is logged in, it checks the LastUser
FIRST, Create a custom system information field Named "User Is Admin" (without the quotes) as Text. If you import before creating the field, you will need to edit lines 6,10,13,18,22,25 to select the correct customSysInfo
Works exactly as expected!!!!!
Test if CurrentUser has Rights has no comments.