Other items inposish::process
pub fn geteuid() -> u32
geteuid()—Returns the process’ effective user ID.
geteuid()