NM.DeviceTun.get_owner – libnm Reference Manual
get_owner
Description:
public
int64
get_owner
()
Gets the tunnel owner.
Parameters:
this
a
DeviceTun
Returns:
the uid of the tunnel owner, or -1 if it has no owner.