FileSystemOperationsExtensions.CheckAccess Method (IFileSystemOperations, String, String, String)
Checks if the specified access is available at the given path.
Namespace: Microsoft.Azure.Management.DataLake.StoreFileSystem
Assembly: Microsoft.Azure.Management.DataLake.StoreFileSystem (in Microsoft.Azure.Management.DataLake.StoreFileSystem.dll)
Syntax
public static AzureOperationResponse CheckAccess(
this IFileSystemOperations operations,
string path,
string accountName,
string fsAction
)
public:
[ExtensionAttribute]
static AzureOperationResponse^ CheckAccess(
IFileSystemOperations^ operations,
String^ path,
String^ accountName,
String^ fsAction
)
static member CheckAccess :
operations:IFileSystemOperations *
path:string *
accountName:string *
fsAction:string -> AzureOperationResponse
<ExtensionAttribute>
Public Shared Function CheckAccess (
operations As IFileSystemOperations,
path As String,
accountName As String,
fsAction As String
) As AzureOperationResponse
Parameters
operations
Type: Microsoft.Azure.Management.DataLake.StoreFileSystem.IFileSystemOperationsReference to the Microsoft.Azure.Management.DataLake.StoreFileSystem.IFileSystemOperations.
path
Type: System.StringRequired. The path to the file or folder to check access for.
accountName
Type: System.StringRequired. The name of the account to use
fsAction
Type: System.StringRequired. File system operation read/write/execute in string form, matching regex pattern '[rwx-]{3}'
Return Value
Type: Microsoft.Azure.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