GetAllKeyValues

myNamespaceModule.GetAllKeyValues([isUserSpecific][, timeoutInSeconds]);

myNamespaceModuleThe name of the namespace-specific module instance
isUserSpecificIf TRUE, the system will look only for private keys; if FALSE then the system will look for global keys; OPTIONAL, defaults to FALSE
timeoutInSecondsThe number of seconds to wait for the underlying SOAPCALL to complete; set to zero to wait forever; OPTIONAL, defaults to zero
Return:A GetAllKeyValuesResponseRec RECORD

The GetAllKeyValues function gets a list of all keys and their associated values currently defined within a namespace.

Example:

IMPORT STD;

myStore := STD.System.Store();
myNamespace := myStore.WithNamespace('Config', 'MyStore');

// Get all global key/value pairs
result1 := myNamespace.GetAllKeyValues();
OUTPUT(result1.namespace);
OUTPUT(result1.key_values);

// Get all user-specific key/value pairs
result2 := myNamespace.GetAllKeyValues(TRUE);
OUTPUT(result2.key_values);

See Also: GetAllKeyValuesResponseRec