FileSystemOperationsExtensions.SetAclAsync Method (IFileSystemOperations, String, String, String)
Sets ACL entries on a file or folder.
Namespace: Microsoft.Azure.Management.DataLake.StoreFileSystem
Assembly: Microsoft.Azure.Management.DataLake.StoreFileSystem (in Microsoft.Azure.Management.DataLake.StoreFileSystem.dll)
Syntax
public static Task<AzureOperationResponse> SetAclAsync(
this IFileSystemOperations operations,
string filePath,
string accountName,
string aclSpec
)
public:
[ExtensionAttribute]
static Task<AzureOperationResponse^>^ SetAclAsync(
IFileSystemOperations^ operations,
String^ filePath,
String^ accountName,
String^ aclSpec
)
static member SetAclAsync :
operations:IFileSystemOperations *
filePath:string *
accountName:string *
aclSpec:string -> Task<AzureOperationResponse>
<ExtensionAttribute>
Public Shared Function SetAclAsync (
operations As IFileSystemOperations,
filePath As String,
accountName As String,
aclSpec As String
) As Task(Of AzureOperationResponse)
Parameters
operations
Type: Microsoft.Azure.Management.DataLake.StoreFileSystem.IFileSystemOperationsReference to the Microsoft.Azure.Management.DataLake.StoreFileSystem.IFileSystemOperations.
filePath
Type: System.StringRequired. The path to the directory or file to set ACLs on.
accountName
Type: System.StringRequired. The name of the account to use
aclSpec
Type: System.StringRequired. The ACL spec included in ACL creation operations in the format '[default:]user|group|other::r|-w|-x|-'
Return Value
Type: System.Threading.Tasks.Task<AzureOperationResponse>
A standard service response including an HTTP status code and request ID.
See Also
FileSystemOperationsExtensions Class
Microsoft.Azure.Management.DataLake.StoreFileSystem Namespace
Return to top