Skip to main content

sessions

Function sessions 

Source
pub fn sessions() -> Result<Vec<Session>>
Expand description

Who is logged in. User names are personal data: keep them out of output that leaves the machine.

ยงErrors

Unsupported where the OS has no session list; Os when the call fails.