public DataLakeStoreItemAce(DataLakeStoreEnums.ScopeType scope, DataLakeStoreEnums.AceType type, string id, string permission)
        {
            Scope      = scope;
            Type       = type;
            Id         = id;
            Permission = permission;

            Entry             = string.Format("{0}{1}:{2}:{3}", Scope == DataLakeStoreEnums.ScopeType.Default ? "default:" : string.Empty, Type, Id, permission);
            NoPermissionEntry = string.Format("{0}{1}:{2}", Scope == DataLakeStoreEnums.ScopeType.Default ? "default:" : string.Empty, Type, Id);
        }
Example #2
0
        public DataLakeStoreItemAce(DataLakeStoreEnums.ScopeType scope, DataLakeStoreEnums.AceType type, string id, string permission)
        {
            Scope      = scope;
            Type       = type;
            Id         = id;
            Permission = permission;

            Entry             = $"{(Scope == DataLakeStoreEnums.ScopeType.Default ? "default:" : string.Empty)}{Type}:{Id}:{Permission}";
            NoPermissionEntry =
                $"{(Scope == DataLakeStoreEnums.ScopeType.Default ? "default:" : string.Empty)}{Type}:{Id}";
        }