<PackageReference Include="Azure.Storage.Files.DataLake" Version="12.22.0" />

Azure.Storage.Files.DataLake.Models.PathAccessControlExtensions

public static class PathAccessControlExtensions
Extension methods for RolePermissions.

Deseralizes an access control list string into a list of PathAccessControlEntries.

Parses octal char to RolePermissions.

public static RolePermissions ParseSymbolicRolePermissions(string s, bool allowStickyBit = false)

Parses symbolic permissions string to RolePermissions.

public static string ToAccessControlListString(IList<PathAccessControlItem> accessControlList)

Converts the Access Control List to a String.

public static string ToOctalRolePermissions(this RolePermissions rolePermissions)

Returns the octal string representation of this RolePermissions.

public static string ToSymbolicRolePermissions(this RolePermissions rolePermissions)

Returns the octal string respentation of this RolePermissions.

public static string ToSymbolicRolePermissions(this RolePermissions rolePermissions, bool stickyBit)

Returns the octal string respentation of this RolePermissions.