get_num_sessions_anywhere


Description:

public uint get_num_sessions_anywhere ()

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.)

Parameters:

this

a user

Returns:

the number of sessions




2022 vala-language.org