Spear.update_user

You're seeing just the function update_user, go back to Spear module for more information.
Link to this function

update_user(conn, full_name, login_name, password, groups, opts \\ [])

View Source (since 0.3.0)

Specs

update_user(
  connection :: Spear.Connection.t(),
  full_name :: String.t(),
  login_name :: String.t(),
  password :: String.t(),
  groups :: [String.t()],
  opts :: Keyword.t()
) :: :ok | {:error, any()}

Updates an existing EventStoreDB user

Options

All options are passed to Spear.request/5.

Examples

iex> Spear.create_user(conn, "Aladdin", "aladdin", "open sesame", ["$ops"], credentials: {"admin", "changeit"})
:ok
iex> Spear.update_user(conn, "Aladdin", "aladdin", "open sesame", ["$admins"], credentials: {"admin", "changeit"})
:ok