A LaunchDarkly user object.

Deprecated

Hierarchy

  • LDUser

Properties

anonymous?: boolean

If true, the user will not appear on the Users page in the LaunchDarkly dashboard.

avatar?: string

An absolute URL to an avatar image for the user.

country?: string

The country associated with the user.

custom?: {
    [key: string]: string | boolean | number | (string | boolean | number)[];
}

Any additional attributes associated with the user.

Type declaration

  • [key: string]: string | boolean | number | (string | boolean | number)[]
email?: string

The user's email address.

If an avatar URL is not provided, LaunchDarkly will use Gravatar to try to display an avatar for the user on the Users page.

firstName?: string

The user's first name.

ip?: string

The user's IP address.

If you provide an IP, LaunchDarkly will use a geolocation service to automatically infer a country for the user, unless you've already specified one.

key: string

A unique string identifying a user.

lastName?: string

The user's last name.

name?: string

The user's name.

You can search for users on the User page by name.

privateAttributeNames?: string[]

Specifies a list of attribute names (either built-in or custom) which should be marked as private, and not sent to LaunchDarkly in analytics events. This is in addition to any private attributes designated in the global configuration with LDOptions.privateAttributes or LDOptions.allAttributesPrivate.

Generated using TypeDoc