Class UsermanAPI
#include <UsermanAPI.h >
This class is used by other apps to send messages to the userman channel.
Use this interface instead of sending messages directly to ensure message keywords are spelled correctly, all parameters are specified, and error checked.
The receiving app defined this interface to ensure it receives the messages correctly.
UserDevice& device |
END if successfully sent
UserDevice& device |
END
UserDevice& device |
END
DbRecNum user_id |
the User id |
Refresh the news feed for the identified user. Call this after you have posted news for that user.
Return value: true if successfully sent
UserDevice& device |
the end-user's device |
const string& feedbackType |
must be one of: bug, feature, comment |
const string& region |
display region area where feedback dialog box can be displayed |
Draw feedback dialog box for the user.
Return value: true if successfully sent
const UserDevice& device |
end user's device |
const XMLData& cbdata |
the data associated with the action |
Send a feedback form response to Userman, which handles it.
Return value: true if successfully sent
const UserDevice& device |
end user's device |
Send a feedback form response to Userman, which handles it.
Return value: true if successfully sent
UserDevice& device |
the end-user's device |
const string& appname |
the name of the new app to run |
Switch the user from their currently running MAE application to the new application named.
Return value: true if successfully sent
const string& name |
The name of the user |
const string& email |
The e-mail address of the user |
int terms |
the terms version that the user accepted |
int sessionId |
the user's session id |
int confirmationId |
(future use) the confirmation id Default value: 0 |
Send an email to the identified user, asking them to confirm their e-mail address.
Return value: Resulting data from the call. Use RemoteService::getError(result) to get any error; if no error, then call worked.
const string& name |
The name of the user |
const string& email |
The e-mail address of the user |
int terms |
the terms version that the user accepted |
int sessionId |
the user's session id |
int confirmationId |
(future use) the confirmation id Default value: 0 |
The new user is confirming that they received the e-mail we sent to them.
Return value: Resulting data from the call. Use RemoteService::getError(result) to get any error; if no error, then call worked.
const string& email |
(required) The e-mail address of the user |
const string& ipaddr |
(optional) The IP address where the user is requesting |
const string& requestor |
(optional) the name of the user requesting the reset Default value: "" |
User is requesting their password to be reset.
Return value: Resulting data from the call. Use RemoteService::getError(result) to get any error; if no error, then call worked.
const string& request |
the request keyword |
const XMLData& params |
the data (parameter payload) Default value: XMLData("") |
Send an API message to channel userman.