dms.SetUserDataAsString

This job writes user-related data for the specified name and type to the database, provided that these must be stored as strings. If these must be stored as strings, only this job must be used. The input parameters correspond to dms.SetUserData, only Value (BASE64) is replaced by sValue (STRING).

1. Input Parameters

Name Type Required Description

Flags

INT

Yes

reserved, must be 0

Type

INT

Yes

Data type (see data types)

Name

STRING

Yes

Identifier for the data record

sValue

STRING

Yes

Value to be stored as string

The value is stored in osconf as UTF-8 with byte-order mark (EF BB BF) without a terminating NUL, an empty sValue as NULL. Existing entries are changed in place, the name is stored in upper case (verified).

2. Return Value

(INT): 0 = Job successful, otherwise error code
Complete list of error codes

3. See Also