[][src]Trait heim_host::os::windows::UserExt

pub trait UserExt {
    pub fn domain(&self) -> &str;
pub fn address(&self) -> Option<&IpAddr>; }
This is supported on Windows only.

Extension for User struct.

Required methods

pub fn domain(&self) -> &str[src]

Domain name that the user belongs to.

pub fn address(&self) -> Option<&IpAddr>[src]

Client network address of a RDP session.

At the moment not all possible protocols are supported (AF_IPX, AF_NETBIOS and AF_UNSPEC families are missing), and therefore, this method returns Option<&IpAddr>.

It should be expected that method will return &IpAddr directly, when support for all protocols will arrive.

Loading content...

Implementors

Loading content...