user_set_preference ()
Function prototype | user_set_preference(session, parameter, value, [scope = "USER"], [scope_ref] |
---|---|
API Version | All |
Sets a personal preference of the USER | |
Input parameters: |
|
Output parameters: |
|
Request sample: | user_set_preference ( “LCAAAAAAAAAAAA”, "MY_PREF", "1", "PROGRAM", "323" ); Sets the value 1 to the preference named MY_PREF, which used in the PROGRAM with reference 323 |
Response sample: | <?xml version="1.0" encoding="utf-8" standalone="yes"?> <result></result> <ErrorMsg></ErrorMsg> <ErrorCode></ErrorCode> |
Notes: |
Return Error codes
ERROR CODE | |
---|---|
INVALID_TOKEN | The session token provided is not valid |
INSUFFICIENT_PRIVILEGES | The session user does not have the necessary privileges to create request the 'action' indicated |
, multiple selections available,