/
user_set_preference ()
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,
Related content
USER_PREFERENCE_SET ()
USER_PREFERENCE_SET ()
More like this
user_set_preferences ()
user_set_preferences ()
More like this
user_get_preference ()
user_get_preference ()
More like this
USER_PREFERENCE_GET ()
USER_PREFERENCE_GET ()
More like this
case_set_preference ()
case_set_preference ()
More like this
case_get_preference ()
case_get_preference ()
More like this