Skip to main content
Version: 5.7.0

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

ParameterDescription
alwaysAllowControls whether the profile ID is passed in with non-anonymous authentications.

Usage

http://localhost:3000
_bc.SetAlwaysAllowProfileSwitch(false);    // Default is true
JSON Response
_bc.setAlwaysAllowProfileSwitch(true);