C Client-Side SDK
LaunchDarkly SDK
|
|
Go to the documentation of this file.
133 struct LDUser *
const user,
const char *
const attribute);
144 struct LDUser *
const user,
struct LDJSON *
const privateAttributes);
152 struct LDUser *
const user,
struct LDJSON *
const custom);
LDBoolean LDUserSetName(struct LDUser *const user, const char *const name)
Set the user's name.
LDBoolean LDUserSetSecondary(struct LDUser *const user, const char *const secondary)
Set the user's secondary key.
LDBoolean LDUserSetEmail(struct LDUser *const user, const char *const email)
Set the user's email.
void LDUserSetCustom(struct LDUser *const user, struct LDJSON *const custom)
Set the user's custom JSON.
A custom c89 boolean type.
void LDUserSetPrivateAttributes(struct LDUser *const user, struct LDJSON *const privateAttributes)
Mark a set of attributes as private.
LDBoolean LDUserSetFirstName(struct LDUser *const user, const char *const firstName)
Set the user's first name.
void LDUserSetAnonymous(struct LDUser *const user, const LDBoolean anon)
Mark the user as anonymous.
LDBoolean LDUserAddPrivateAttribute(struct LDUser *const user, const char *const attribute)
Mark an attribute as private.
LDBoolean LDUserSetCountry(struct LDUser *const user, const char *const country)
Set the user's country.
void LDUserSetCustomAttributesJSON(struct LDUser *const user, struct LDJSON *const custom)
Set the user's custom field.
#define LD_EXPORT(x)
Used to ensure only intended symbols are exported in the binaries.
Definition: export.h:10
LDBoolean LDUserSetAvatar(struct LDUser *const user, const char *const avatar)
Set the user's avatar.
LDBoolean LDUserSetLastName(struct LDUser *const user, const char *const lastName)
Set the user's last name.
void LDUserFree(struct LDUser *const user)
Destroy an existing user object.
Public API Interface for JSON usage.
LDBoolean LDUserSetIP(struct LDUser *const user, const char *const ip)
Set the user's IP.
struct LDUser * LDUserNew(const char *const key)
Allocate a new empty user Object.
Public. Configuration of exported symbols.