Struct UserAttribute
Represents a built-in or custom attribute name supported by User.
Assembly: LaunchDarkly.CommonSdk.dll
Syntax
public struct UserAttribute : IEquatable<UserAttribute>
Fields
Anonymous
Represents the anonymous attribute.
Declaration
public static readonly UserAttribute Anonymous
Field Value
Avatar
Represents the avatar URL attribute.
Declaration
public static readonly UserAttribute Avatar
Field Value
Country
Represents the country attribute.
Declaration
public static readonly UserAttribute Country
Field Value
Email
Represents the user email attribute.
Declaration
public static readonly UserAttribute Email
Field Value
FirstName
Represents the first name attribute.
Declaration
public static readonly UserAttribute FirstName
Field Value
IPAddress
Represents the IP address attribute.
Declaration
public static readonly UserAttribute IPAddress
Field Value
Key
Represents the user key attribute.
Declaration
public static readonly UserAttribute Key
Field Value
LastName
Represents the last name attribute.
Declaration
public static readonly UserAttribute LastName
Field Value
Name
Represents the full name attribute.
Declaration
public static readonly UserAttribute Name
Field Value
Properties
AttributeName
The case-sensitive attribute name.
Declaration
public string AttributeName { get; }
Property Value
BuiltIn
True for a built-in attribute or false for a custom attribute.
Declaration
public bool BuiltIn { get; }
Property Value
Methods
Equals(UserAttribute)
Declaration
public bool Equals(UserAttribute a)
Parameters
Returns
Equals(object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
object |
obj |
|
Returns
Overrides
ForName(string)
Returns a UserAttribute instance for the specified attribute name.
Declaration
public static UserAttribute ForName(string name)
Parameters
Type |
Name |
Description |
string |
name |
the attribute name
|
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
operator ==(UserAttribute, UserAttribute)
Declaration
public static bool operator ==(UserAttribute a, UserAttribute b)
Parameters
Returns
operator !=(UserAttribute, UserAttribute)
Declaration
public static bool operator !=(UserAttribute a, UserAttribute b)
Parameters
Returns
Implements
See Also