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 sum of the values of the MF_NACLType enumeration specifying which NACL types to retrieve.number

Return type

NameDescriptionType
named_aclsResults as JSON array (represented by MF_NamedACL struct).NamedACL[]

Example

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