다음을 통해 공유


FileSystemOperationsExtensions.SetAcl Method

Definition

Sets the Access Control List (ACL) for a file or folder.

public static void SetAcl (this Microsoft.Azure.Management.DataLake.Store.IFileSystemOperations operations, string accountName, string setAclFilePath, string aclspec);
public static void SetAcl (this Microsoft.Azure.Management.DataLake.Store.IFileSystemOperations operations, string accountName, string path, string aclspec);
static member SetAcl : Microsoft.Azure.Management.DataLake.Store.IFileSystemOperations * string * string * string -> unit
static member SetAcl : Microsoft.Azure.Management.DataLake.Store.IFileSystemOperations * string * string * string -> unit
<Extension()>
Public Sub SetAcl (operations As IFileSystemOperations, accountName As String, setAclFilePath As String, aclspec As String)
<Extension()>
Public Sub SetAcl (operations As IFileSystemOperations, accountName As String, path As String, aclspec As String)

Parameters

operations
IFileSystemOperations

The operations group for this extension method.

accountName
String

The Azure Data Lake Store account to execute filesystem operations on.

setAclFilePathpath
String

The Data Lake Store path (starting with '/') of the file or directory on which to set the ACL.

aclspec
String

The ACL spec included in ACL creation operations in the format '[default:]user|group|other::r|-w|-x|-'

Applies to