Skip to main content

GetNamedACLs

Gets all named ACLs (replaces 'current user' with the calling user).

Syntax

// Assumes shellUI has been initialized with IShellUI instance
const results = await shellUI.Vault.NamedACLsOperations.GetNamedACLs({
include_builtin: false,
types: 0,
});

Message

NameDescriptionType
include_builtinInclude built-in named ACLs in the results. Built-in ACLs are not modifiable. They include ACLS such as "Only for me" that depend on the current user.boolean
typesA bitwise combination of NACLType values specifying which named ACL types to retrieve.number

Return type

NameDescriptionType
named_aclsThe retrieved named ACLs, as an array of NamedACL objects.NamedACL[]

Example

{
"named_acls": [] /* Array of NamedACL */
}