Resolve real names from user names in a platform independent fashion.
Resolve real names from user names in a platform independent fashion.
(delimited-record->map record delimiter-pattern keys)
Split this record
into fields delimited by this delimiter-pattern
and
return it as a map with these keys
.
Split this `record` into fields delimited by this `delimiter-pattern` and return it as a map with these `keys`.
Microsoft's own translations of Full Name
into a variety of languages,
taken from their language portal. Clearly there must be some os-call that
they're using to resolve the translation, but I don't know it; so this is
the best I can currently do.
Microsoft's own translations of `Full Name` into a variety of languages, taken from their language portal. Clearly there must be some os-call that they're using to resolve the translation, but I don't know it; so this is the best I can currently do.
(get-real-name)
(get-real-name username)
Get the real name of the user with this username
, or of the current user
if no username passed.
Get the real name of the user with this `username`, or of the current user if no username passed.
(getRealName)
(getRealName username)
Get the real name of the user with this username
, or of the current user
if no username passed.
Essentially a wrapper around get-real-name
for the convenience of Java
users.
Get the real name of the user with this `username`, or of the current user if no username passed. Essentially a wrapper around `get-real-name` for the convenience of Java users.
(process-gecos gecos)
Process this gecos
field into a map of its sub-fields. See
https://en.wikipedia.org/wiki/Gecos_field
Process this `gecos` field into a map of its sub-fields. See https://en.wikipedia.org/wiki/Gecos_field
(process-passwd)
Process the password file into a map whose keys are user names and whose values are maps of associated records from lines in the file.
Process the password file into a map whose keys are user names and whose values are maps of associated records from lines in the file.
(process-passwd-line line)
Process this line
from a passwd file
Process this `line` from a passwd file
(username->real-name username)
Given this username
, return the associated real name if found; else
throw exception.
Given this `username`, return the associated real name if found; else throw exception.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close