Pushes the updated user's context to the server.
SC_Error_t SC_UserController_UpdateUserContext(SC_UserController_h self)
SC_UserController instance handle
Any user can be updated in this way.
Note: Only the most recent context, requested by SC_UserController_LoadUserContext, can be updated. If the context was updated in the meantime by some other client, a delegate callback will be called with SC_CONTEXT_VERSION_MISMATCH. SC_User_GetContext will then contain the most recent server context and SC_User_GetOldContext will contain the context that was sent with the last SC_UserController_UpdateUserContext.
Note that this is an asynchronous call and a callback will be triggered upon success or failure.
SC_Error_t A return code (a value of SC_OK indicates success, any other value indicates an error).
- See also: