GetNamedValues
Reads the named values with the given namespace from the vault.
Syntax
// Assumes shellUI has been initialized with IShellUI instance
const results = await shellUI.Vault.NamedValueStorageOperations.GetNamedValues({
storage_type: 9 /* Enum: NamedValueType */,
namespace_name: "<namespace_name>",
});
Message
Name | Description | Type |
---|---|---|
storage_type | The named value type to retrieve. | NamedValueType |
namespace_name | The namespace from which the values are retrieved. | string |
Return type
Name | Description | Type |
---|---|---|
values | Receives the found named values with the given type and namespace as JSON array (represented by MF_NamedValueArray struct). | NamedValue[] |
Example
{
"values": [] /* Array of NamedValue */
}