Chapter 10: Users and Segments
Since we have looked at feature flags in both the broad sense and then in detail in Chapter 3, Basics of LaunchDarkly and Feature Management, and Chapter 9, Feature Flag Management in Depth, respectively, it is now time to explore users and segments in detail. Being able to understand the User
object, as well as the functionality that LaunchDarkly provides to target and manage users and groups, is key to being able to make the most of feature management.
While the implementation of a feature flag is simple, with it effectively being an if
statement, the real power comes from how you work with users and the targeting within LaunchDarkly. This chapter will give you all the information you need to work confidently with users and maximize the targeting, rollout, and experimentation functionality.
We will look at how to use the LaunchDarkly Software Development Kit (SDK) to set up the User
object within an application, as well as some of the optional...