Click or drag to resize
OssClientSetObjectAcl 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
public 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

Implements

IOssSetObjectAcl(String, String, CannedAccessControlList)
See Also