Function users::set_both_uid
[−]
[src]
pub fn set_both_uid(ruid: uid_t, euid: uid_t) -> Result<(), Error>
Atomically set current and effective user for the running process, requires root priviledges.