radcli_dae_req_user_name(3)

πŸ“¦ version 2.0.1, in arch rolling

πŸ’… radcli_dae_req_user_name(3)

okay so bestie, welcome to the Radius client library docs πŸŽ€ this one's a lil function called radcli_dae_req_user_name and honestly? it's giving "small but mighty." it hands you the request's User-Name β€” but only if the request actually carried one. no User-Name, no dice. that's the whole vibe.


✨ NAME ✨

radcli_dae_req_user_name β€” returns the request's User-Name, if it carried one. that's it, that's the function 🫢


✨ SYNOPSIS ✨

#include <radcli/>

const char * radcli_dae_req_user_name(
    const radcli_dae_request  *req
);

look at that signature, so clean, so iconic πŸ‘‘


✨ DESCRIPTION ✨

ngl, the original page leaves this section completely empty 😭 like literally nothing here. so no extra lore from me β€” everything you need is down in PARAMETERS and RETURN VALUE. go off, read those πŸ’–


✨ PARAMETERS ✨

  • req β€” a request passed to a radcli_dae_handler. that's the one you're interrogating. be nice to it 🧚

✨ RETURN VALUE ✨

you get a NUL-terminated string β€” and here's the tea: it's owned by req, and it's valid until req is freed. so like, don't go freeing it yourself or hanging onto it after the request dips out πŸ‘€

and it returns NULL if req is NULL or if it carried no User-Name. no name, no string. simple as πŸ’…


🌈 SEE ALSO 🌈

the whole friend group, assembled:


aaaand that's the page!! πŸ¦‹ this lil gem comes to you from radcli, dated 2026-10-10 β€” go forth and grab those User-Names, bestie, you got this fr fr πŸ’œβœ¨

πŸ“¦ where this page comes from