SqlMembershipProvider.Profile (sql_membership_provider v0.3.1)

Struct for representing a user's profile information that may contain arbitrary properties

Link to this section Summary

Functions

Fetch a profile by user id.

Parse a profile's property fields into a map.

Link to this section Types

Specs

t() :: %SqlMembershipProvider.Profile{
  __meta__: term(),
  last_updated_date: tuple(),
  property_names: String.t(),
  property_values_string: String.t(),
  user: term(),
  user_id: String.t()
}

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

properties(t()) :: map()

Parse a profile's property fields into a map.