 {"id":48,"date":"2007-04-28T13:08:38","date_gmt":"2007-04-28T18:08:38","guid":{"rendered":"http:\/\/www.networkjack.info\/blog\/2007\/04\/28\/filemaker-scripting-privilegesetname\/"},"modified":"2007-04-28T13:27:12","modified_gmt":"2007-04-28T18:27:12","slug":"filemaker-scripting-privilegesetname","status":"publish","type":"post","link":"http:\/\/www.networkjack.info\/blog\/2007\/04\/28\/filemaker-scripting-privilegesetname\/","title":{"rendered":"FileMaker Scripting &#8211; PrivilegeSetName"},"content":{"rendered":"<p>Quick FileMaker Pro tip:<\/p>\n<p>if you are trying to implement some privilege set specific behavior and you are depending on the call to Get(PrivilegeSetName), be aware that if you set the &#8220;Run Script with Full Privileges&#8221; option on that script that that function does not return the Privilege Set Name for the current user, but instead returns [Full Access].<\/p>\n<p>Took me about 10 minutes to figure out why my script was not executing. This actually turned out to be a good thing since it forced me to factor my script a bit more and thereby create a more flexible function.<\/p>\n<p>One other thing that is a bit frustrating is that there is no way (other than setting at startup and referring to a global global) to abstract\/define a constant for a privilege set name. If you needed to make heavy use of privilege set specific branching, picking good privilege set names in the beginning would be crucial.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Quick FileMaker Pro tip: if you are trying to implement some privilege set specific behavior and you are depending on the call to Get(PrivilegeSetName), be&#8230;<\/p>\n<div class=\"more-link-wrapper\"><a class=\"more-link\" href=\"http:\/\/www.networkjack.info\/blog\/2007\/04\/28\/filemaker-scripting-privilegesetname\/\">Continue reading<span class=\"screen-reader-text\">FileMaker Scripting &#8211; PrivilegeSetName<\/span><\/a><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,19],"tags":[],"class_list":["post-48","post","type-post","status-publish","format-standard","hentry","category-database","category-filemaker","entry"],"_links":{"self":[{"href":"http:\/\/www.networkjack.info\/blog\/wp-json\/wp\/v2\/posts\/48"}],"collection":[{"href":"http:\/\/www.networkjack.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.networkjack.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.networkjack.info\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.networkjack.info\/blog\/wp-json\/wp\/v2\/comments?post=48"}],"version-history":[{"count":0,"href":"http:\/\/www.networkjack.info\/blog\/wp-json\/wp\/v2\/posts\/48\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.networkjack.info\/blog\/wp-json\/wp\/v2\/media?parent=48"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.networkjack.info\/blog\/wp-json\/wp\/v2\/categories?post=48"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.networkjack.info\/blog\/wp-json\/wp\/v2\/tags?post=48"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}