storeGetACL

Gets the ACL object or bucket.

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

storeGetACL Argument Reference

ulr
Required

Amazon S3 URLs (content or object)

ACLObject
Required

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)> 
 </cfif> 
     <cfset test = storeGetACL('#dir#')> 
     <cfdump var='#test#'>  

Fork me on GitHub