RunScriptAndLogoutOnApplicationQuit
Execute a script on the server and Logout in one frame, meant to be used when application closes/exits
Method Parameters
Parameter | Description |
---|---|
forgetUser | Set as true to clear profile ID that is saved, false to save it. |
scriptName | The name with its full path on the server to be executed. |
jsonScriptData | Data to be sent to the script in json format. |
Usage
http://localhost:3000
- C#
- C++
- Objective-C
- Java
- JavaScript
- Cloud Code
- Raw
bool forgetUser = true;
string scriptName = "path/to/script1";
string jsonScriptData = "{\"key\":\"value\"}";
_bc.RunScriptAndLogoutOnApplicationQuit(forgetUser, scriptName, jsonScriptData);
// N/A
// N/A
// N/A
// N/A
// N/A
// N/A