Sympa::User(3Sympa)
π NAME π
Sympa::User β literally every single user that Sympa knows about, all of them, no cap π
β¨ DESCRIPTION β¨
okay bestie so this is the class that handles all the users identified by Sympa. it's giving very important, very main character. let's get into it π«Ά
π CONSTRUCTOR π
new ( EMAIL, [ KEY => VAL, ... ] )β makes you a brand newSympa::Userobject. fresh out the box, iconic behavior fr fr π
πΈ METHODS πΈ
expireβ yeets the user's info right out ofuser_table. gone. not me being dramatic, it really does that πget_idβ hands you the unique identifier of the object. their little ID badge, if you will β¨movetoβ changes the email of the user. glow-up, but for an email address π¦saveβ writes the user's info intouser_table. saving your work is self care, periodt π
π ACCESSORS π
<attribute><attribute>"( VALUE )"
these are the getters/setters, bestie β they get or set the user's attributes. for example, $user->gecos returns the gecos parameter of the user, and $user->gecos("foo") changes it too. two jobs, one method, we love a multitasker π
heads up tho: the basic user profile email only has a getter, so it's read-only. look but don't touch, okay? π
π¦ FUNCTIONS π¦
get_users ( ... )β not yet implemented. she's not here yet, still getting ready πpassword_fingerprint ( )β returns the password finger print. yes, finger print, not fingerprint, that's literally what it says πhash_type ( )β detects the type of password fingerprint used for a hashed password. returnsundefif no supported hash type is detected. no match =undef, simple as that β¨update_password_hash ( )β if needed, updates the hash used for the user's encrypted password entry. only if needed tho, she's not doing extra work for free π
π OLD STYLE FUNCTIONS π
add_global_userdelete_global_useris_global_userget_global_userget_all_global_user
obsoleted. yeah. they're giving vintage, and not in a cute way ππ
update_global_user
β Miscellaneous β
clean_user ( USER_OR_HASH )clean_users ( ARRAYREF_OF_USERS_OR_HASHES )
function. warns if the argument is not a Sympa::User object. returns Sympa::User object, if any. so like, she'll call you out AND she'll hand you the object back if there is one β generous queen π«Ά
TENTATIVE. these functions will be used during transition between old and object-oriented styles. at last modifications have been done, they shall be removed. so enjoy them while they last bestie, they're on borrowed time πβ³
and that's the page!! sending you off with the vibe check: this is from sympa 6.2.80, the Sympa::User(3Sympa) page, dated 2026-10-19 πΈπ go forth and manage your users, you're gonna slay β¨π¦
π¦ where this page comes from
- fedora 43: sympa-devel-doc 6.2.80-2.fc43 Β· GPL-2.0-or-later AND (OFL-1.1-RFN AND MIT) AND OFL-1.1-RFN AND MIT and (MIT OR GPL-2.0-only)
- fedora 44: sympa-devel-doc 6.2.80-2.fc44 Β· GPL-2.0-or-later AND (OFL-1.1-RFN AND MIT) AND OFL-1.1-RFN AND MIT and (MIT OR GPL-2.0-only)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms