Since I'm fairly new to scripting in Filemaker I can't seem to find a way to add a second priviligeset to this script. The idea is that it should be possible to either login in with a "Full Access" account or with a "Subadmin" account in order to get access to the User layout…
If [ Get ( NamePrivilegesetAccount ) ≠ "[Full Access]" ]
Show Custom Dialogbox [ "Insufficient Permissions" ; "You must be an administrator to access this area." ]
Close Script [ ]
Go to lay-out [ "Users" (Users_Master) ]
Show all records
Thnks for your help!