SqlMembershipProvider.Profile (sql_membership_provider v0.4.0)
Struct for representing a user's profile information that may contain arbitrary properties
Link to this section Summary
Link to this section Types
Specs
t() :: %SqlMembershipProvider.Profile{ __meta__: Ecto.Schema.Metadata.t(), last_updated_date: DateTime.t(), property_names: String.t(), property_values_string: String.t(), user: Ecto.Schema.belongs_to(SqlMembershipProvider.User.t()) | nil, user_id: binary() }
Link to this section Functions
Link to this function
find_by_user_id(user_id)
Specs
find_by_user_id(String.t()) :: Ecto.Query.t()
Fetch a profile by user id.
Link to this function
properties(profile)
Specs
Parse a profile's property fields into a map.