dms.GetConfValues
This job returns records from the table osconf for the
user-related data types given in ConfTypes: the records of the logged-in user
and the global records (osconfuser = -1). With ConfTypes = "3" it returns the
AS.INI of the logged-in user.
For each record, not for each type, a set of numbered output parameters (sConfValue_0, ConfID_0, …) is
returned. The numbering _<n> runs continuously across all types. The types appear in the order of
ConfTypes; a type given twice is returned twice. Within a type there is no fixed order. Records with
osconfuser = 0 or NULL are not returned.
The job dms.GetConfValuesAsString returns the same output as this job with OutputUnicode = 1.
|
This job is not listed in the official enaio® DMS engine overview. The parameters were reconstructed from the call code of the |
1. Input Parameters
| Name | Type | Required | Description |
|---|---|---|---|
|
INT |
Yes |
Reserved; always pass |
|
STRING |
Yes |
Comma-separated list of user-related data types (see types), e.g. |
|
INT |
Yes |
|
2. Output Parameters
| Name | Type | Dependency | Description |
|---|---|---|---|
|
INT |
— |
Number of records returned. |
|
STRING |
if |
Value of the |
|
BASE64 |
if |
Raw bytes of the |
|
INT |
— |
ID of the record ( |
|
INT |
— |
User-related data type ( |
|
INT |
— |
|
|
STRING |
— |
Empty in all measurements; meaning open. |
|
BOOLEAN |
— |
|
3. Conversion into sConfValue_<n>
With OutputUnicode = 1 the server converts the stored bytes into a string as follows:
-
A UTF-8 or UTF-16 byte-order mark is recognised, the value is read correctly and the byte-order mark is removed.
-
Without a byte-order mark the server reads cp1252. UTF-8 without a byte-order mark therefore arrives garbled (
äinstead ofä). -
The string ends at the first NUL byte. Binary values therefore arrive empty, UTF-16 without a byte-order mark only with its first character (values of the types
13and29with 21 KB and 3.6 KB arrived as<). The job reports no error in this case.
Values that are not stored as UTF-8 or UTF-16 with byte-order mark can only be read losslessly
with OutputUnicode = 0, provided the type is not blocked for it.
4. Return Value
(INT): 0 = job successful, otherwise error code.
For further return values see Error Codes.
5. See Also
-
krn.REGetRegValue — reads a single registry entry
-
krn.REGetRegValues — reads all registry values under a key
-
AS.INI: reading the AS.INI with
ConfTypes="3" -
dms.GetUserData: reads a single user-related data record
-
osconf: storage table, global records and profile distribution