Get the number of sessions for a user on any seat of any type.
See also get_num_sessions.
(Currently, this function is only implemented for systemd-logind. For ConsoleKit, it is equivalent to act_user_get_num_sessions.)
this |
a user |
the number of sessions |