AAT::User(3)
AAT::User π
okay so bestie, welcome to AAT::User(3) β this is the AAT User module, and it's literally the whole girlboss of user management in AAT. it's part of the User Contributed Perl Documentation collection, and no cap, it does a LOT of heavy lifting: auth, adding, removing, updating, restrictions, configs, roles. the whole vibe. π
β¨ NAME β¨
AAT::User β the AAT User module, periodt. π
πΈ FUNCTIONS πΈ
this is where the main character energy lives. every single one, no skips. π«Ά
Authentication($appli, $login, $pwd)
checks authentication for you β it looks in the Users file and in LDAP Users. so it's doing the vibe check in two places at once, lowkey iconic. π
Add($appli, $login, $pwd, $certificate, $role, $lang, $status, $type)
adds a user with $login, $pwd, $role and $lang. new bestie incoming, slay. β¨
Remove($appli, $login)
removes the user with login $login. it's giving goodbye, and honestly? necessary sometimes. π
Update($appli, $login, $type, $update)
updates user $login with the configuration $update. glow-up but for config. π₯
Restrictions($appli, $login, $type)
returns the user restrictions for user $login. the boundaries. the limits. we respect them. π§
Update_Restrictions($appli, $login, $type, $restrictions)
updates restrictions $restrictions onto user $login. setting new boundaries, very healthy of you honestly. π¦
List($appli)
lists all the users β from the file and from LDAP. the full roster. the whole group chat. π
Configuration($appli, $login, $type)
returns the configuration for user $login. their personal settings, their little setup. π
Configurations($appli, $sort)
returns configurations for all the users. everybody's settings, all at once, no crumbs. π
Enabled($user)
returns 1 if the user status is 'Enabled' or not defined, else it returns 0. simple. binary. she's either on or she's off. β
Roles_Init($appli)
inits the users roles. booting up the role system, waking her up gently. πΈ
Roles_Configurations($appli)
returns the users roles configurations. the whole role setup, handed to you. π
Role_Name($appli, $role)
returns the name of a role. you give the role, you get the name back. reciprocity bestie. π«Ά
π SEE ALSO π
go read these too, they're the friend group:
AAT(3)AAT::DB(3)AAT::Syslog(3)AAT::Theme(3)AAT::Translation(3)AAT::XML(3)
π AUTHOR π
Sebastien Thebert <octo.devel@gmail.com> β the mastermind, the author, the moment. π
okay that's the whole page bestie, hope it ate π β this was written for perl v5.22.2 and dated 2016-05-04, so yeah, vintage but still serving. mwah. ππ
π¦ where this page comes from
- ubuntu jammy: octopussy 1.0.6-0ubuntu2 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms