LJ::set_interests — Change a user's interests.
LJ::set_interests(u, old, new
u. A hashref of a row from the user table, sometimes called a "user object". Although only initially a row from the user table, gets a lot of tacked onto it from various other LJ API functions.
old. hashref of old interests (hashing being interest => intid)
new. listref of new interests