GetAlwaysAllowProfileSwitch
For non-anonymous authentication methods, a profile ID will be passed in when this value is set to false. This will generate an error on the server if the profile ID passed in does not match the profile associated with the authentication credentials.
By default, this value is true.
Usage
http://localhost:3000
- C#
- C++
- Objective-C
- Java
- JavaScript
- Dart
- Cloud Code
- Raw
bool allowSwitch = _bc.GetAlwaysAllowProfileSwitch();
bool alwaysAllow = _bc.AlwaysAllowProfileSwitch;
_bc.AlwaysAllowProfileSwitch = false; // Disables profile switches.
BOOL allowSwitch = _bc.alwaysAllowProfileSwitch;
bool allowSwitch = _bc.getAlwaysAllowProfileSwitch();
var allowSwitch = _bc.getAlwaysAllowProfileSwitch();
bool allowSwitch = _bc.alwaysAllowProfileSwitch;
var allowSwitch = _bc.getAlwaysAllowProfileSwitch();
var allowSwitch = _bc.getAlwaysAllowProfileSwitch();
JSON Response
var allowSwitch = _bc.getAlwaysAllowProfileSwitch();