Function pam::module::get_user
[-] [+]
[src]
pub fn get_user<'a>(pamh: &'a PamHandleT, prompt: Option<&str>) -> PamResult<String>
Retrieves the name of the user who is authenticating or logging in.
This is really a specialization of get_item
.
See pam_get_user
in
http://www.linux-pam.org/Linux-PAM-html/mwg-expected-by-module-item.html