Share via


AclEntry.ParseAclEntryString(String, Boolean) Method

Definition

Parses a AclEntry string into acl type, acl type Id, acl scope and acl action (permissions). Throws exception if the acl string is not correct.

public static Microsoft.Azure.DataLake.Store.Acl.AclEntry ParseAclEntryString (string aclEntry, bool removeAcl);
static member ParseAclEntryString : string * bool -> Microsoft.Azure.DataLake.Store.Acl.AclEntry
Public Shared Function ParseAclEntryString (aclEntry As String, removeAcl As Boolean) As AclEntry

Parameters

aclEntry
String

Acl Entry string delimited by ':'

removeAcl
Boolean

Whether this string is for removing Acl.

Returns

Acl Entry instance

Applies to