anchor.diff:  fetch_orgs_for_user(Server, User) when is_list(User) ->
       fetch_orgs_for_user(Server, list_to_binary(User)).
   
  --spec fetch_all_users(couchbeam_server()) -> any(). % TODO: Figure out how to tighten the return value.
  -
  +-spec fetch_all_users(couchbeam_server()) -> [term()] | {error, term()}.
  +% Return a list of all user documents
   fetch_all_users(Server) ->
       {ok, Db} = couchbeam:open_db(Server, ?user_db, []),
       {ok, View} = couchbeam:view(Db, {?mixlib_auth_user_design, "by_username"},
  
positive.code:                                               {Doc} = ?gv(<<"doc">>, Row),
                                                ?gv(<<"organization">>, Doc)
                                            end, Rows);
                              Error ->
                                  Error
                          end,
          Orgs = bulk_get(Server, ?user_db, OrgAccountIds),
          [ ?gv(<<"name">>, Org) || Org <- Orgs ]
  
negative.code:     case couchbeam_view:fetch(View) of
          {ok, {Res}} ->
              ?gv(<<"rows">>, Res);
          {error, Why} ->
              {error, Why}
      end.
  
  -spec fetch_org_id(couchbeam_server(), binary()) -> binary() | not_found.
  % @doc Return the org GUID for a given organization name.
  fetch_org_id(Server, OrgName) when is_binary(OrgName) ->
      case fetch_org(Server, OrgName) of
          {org_not_found, _} -> not_found;
  