AnsweredAssumed Answered

Add two possible privilegesets

Question asked by rits on Dec 28, 2017
Latest reply on Dec 28, 2017 by philmodjunk


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 [ ]

End If

Go to lay-out [ "Users" (Users_Master) ]

Show all records


Thnks for your help!