Gets the ACL object or bucket.

storeGetACL(url, ACLObject); → returns Returns an ACLObject

Argument Reference for the storeGetACL function


Required: Yes
Amazon S3 URLs (content or object)


Required: Yes
An array of struct where each struct represents a permission or grant as discussed in ACLObject.

Examples sample code invoking the storeGetACL function

Tag Syntax

<cfset dir = 's3://bucket_Name'> 
     <cfif NOT directoryExists(dir)> 
          <cfset directoryCreate(dir)> 
     <cfset test = storeGetACL('#dir#')> 
     <cfdump var='#test#'>  

Fork me on GitHub