AdlsClient.CheckAccess(String, String, CancellationToken) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Checks if the user/group has specified access of the given path
public virtual bool CheckAccess (string path, string rwx, System.Threading.CancellationToken cancelToken = default);
abstract member CheckAccess : string * string * System.Threading.CancellationToken -> bool
override this.CheckAccess : string * string * System.Threading.CancellationToken -> bool
Public Overridable Function CheckAccess (path As String, rwx As String, Optional cancelToken As CancellationToken = Nothing) As Boolean
- path
- String
Path of the file or directory
- rwx
- String
Permission to check in "rwx" string form. For example if the user wants to see if it has read, execute permission, the string would be r-x
- cancelToken
- CancellationToken
CancellationToken to cancel the request
True if client has access to the path else false
Azure SDK for .NET feedback
Azure SDK for .NET is an open source project. Select a link to provide feedback: