Click or drag to resize
IOssSetObjectAcl Method (String, String, CannedAccessControlList)
Sets the object ACL

Namespace: Aliyun.OSS
Assembly: Aliyun.OSS (in Aliyun.OSS.dll) Version: 2.8.0.0 (2.8.0)
Syntax
void SetObjectAcl(
	string bucketName,
	string key,
	CannedAccessControlList acl
)

Parameters

bucketName
Type: SystemString
Bucket name
key
Type: SystemString
Key key
acl
Type: Aliyun.OSSCannedAccessControlList
CannedAccessControlList instance
See Also