- <para><function>sd_bus_creds_get_unit()</function> will retrieve
- the systemd unit name (in the system instance of systemd) that the
- process is a part of. See
- <citerefentry><refentrytitle>systemd.unit</refentrytitle><manvolnum>5</manvolnum></citerefentry>. For
- processes that are not part of a unit, returns -ENXIO.
- </para>
-
- <para><function>sd_bus_creds_get_user_unit()</function> will
- retrieve the systemd unit name (in the user instance of systemd)
- that the process is a part of. See
- <citerefentry><refentrytitle>systemd.unit</refentrytitle><manvolnum>5</manvolnum></citerefentry>. For
- processes that are not part of a user unit, returns -ENXIO.
- </para>
-
- <para><function>sd_bus_creds_get_slice()</function> will retrieve
- the systemd slice (a unit in the system instance of systemd) that
- the process is a part of. See
- <citerefentry><refentrytitle>systemd.slice</refentrytitle><manvolnum>5</manvolnum></citerefentry>. Similarly,
- <function>sd_bus_creds_get_user_slice()</function> retrieves the
- systemd slice of the process, in the user instance of systemd.
- </para>
-