Aliased users
There are situations in which multiple LaunchDarkly users can represent one person. For example, this can happen when a person initially logs into an application. The person might be represented by an anonymous user before they log in, and a different user after they log in. In that case, that one person is identified by two different users as denoted by different user keys. Our SDKs can associate these two LaunchDarkly users by sending analias event.
Only two LaunchDarkly SDKs offer the ability to manually send an alias event. Details about each SDK’s configuration are available in the SDK-specific sections below:
Apex
Expand Apex code sample
Expand Apex code sample
To manually send an
alias event:Electron
Expand Electron code sample
Expand Electron code sample
To manually send an
alias event: