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
Name | Description | Type |
---|---|---|
include_builtin | Include 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 |
types | A bitwise sum of the values of the MF_NACLType enumeration specifying which NACL types to retrieve. | number |
Return type
Name | Description | Type |
---|---|---|
named_acls | Results as JSON array (represented by MF_NamedACL struct). | NamedACL[] |
Example
{
"named_acls": [] /* Array of NamedACL */
}