SetAlwaysAllowProfileSwitch
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.
Method Parameters
Parameter | Description |
---|---|
alwaysAllow | Controls whether the profile ID is passed in with non-anonymous authentications. |
Usage
http://localhost:3000
- C#
- C++
- Objective-C
- Java
- JavaScript
- Dart
- Cloud Code
- Raw
_bc.SetAlwaysAllowProfileSwitch(false); // Default is true
_bc->setAlwaysAllowProfileSwitch(true);
_bc.alwaysAllowProfileSwitch = YES;
_bc.setAlwaysAllowProfileSwitch(true);
_bc.setAlwaysAllowProfileSwitch(true);
_bc.alwaysAllowProfileSwitch = true;
_bc.setAlwaysAllowProfileSwitch(true);
_bc.setAlwaysAllowProfileSwitch(true);
JSON Response
_bc.setAlwaysAllowProfileSwitch(true);