myNamespaceModule.GetAllKeys([isUserSpecific][, timeoutInSeconds]);
| myNamespaceModule | The name of the namespace-specific module instance |
| isUserSpecific | If TRUE, the system will look only for private keys; if FALSE then the system will look for global keys; OPTIONAL, defaults to FALSE |
| timeoutInSeconds | The number of seconds to wait for the underlying SOAPCALL to complete; set to zero to wait forever; OPTIONAL, defaults to zero |
| Return: | A GetAllKeysResponseRec RECORD |
The GetAllKeys function gets a list of all keys currently defined within a namespace.
Example:
IMPORT STD;
myStore := STD.System.Store();
myNamespace := myStore.WithNamespace('Config', 'MyStore');
// Get all global keys
result1 := myNamespace.GetAllKeys();
OUTPUT(result1.namespace);
OUTPUT(result1.keys);
// Get all user-specific keys
result2 := myNamespace.GetAllKeys(TRUE);
OUTPUT(result2.keys);See Also: GetAllKeysResponseRec