dms.SetUserData
This job stores user-related data in the database. If no entry exists yet for the specified name and type, a new entry is created. The check whether an entry already exists can be performed using the job dms.IsUserData
1. Input Parameters
| Name | Type | Required | Description |
|---|---|---|---|
|
INT |
Yes |
reserved, must be 0 |
|
INT |
Yes |
see data types |
|
STRING |
Yes |
Identifier for the record |
|
BASE64 |
Yes |
Value to be stored |
|
STRING |
Yes |
Value to be stored in string format (See comment below) |
The job writes to the table osconf. If the entry exists, the row is changed in place; osconfid and osconflink are kept. The name is stored in upper case. Value is stored byte for byte, also for the text type 3 (AS.INI). The type 2 copy created by distributing a profile (see profile distribution) is not reached by the job (verified).
2. Return Value
(INT): 0 = Job successful, otherwise error code
Complete list of error codes