Top |
LightDMUserList *
lightdm_user_list_get_instance (void
);
Get the user list.
LightDMUser * lightdm_user_list_get_user_by_name (LightDMUserList *user_list
,const gchar *username
);
Get infomation about a given user or NULL if this user doesn't exist.
GList *
lightdm_user_list_get_users (LightDMUserList *user_list
);
Get a list of users to present to the user. This list may be a subset of the available users and may be empty depending on the server configuration.
A list of LightDMUser that should be presented to the user.
[element-type LightDMUser][transfer none]
“length”
property“length” gint
Number of login users.
Flags: Read
Allowed values: >= 0
Default value: 0
“num-users”
property“num-users” gint
Number of login users.
Flags: Read
Allowed values: >= 0
Default value: 0
“user-added”
signalvoid user_function (LightDMUserList *user_list, LightDMUser *user, gpointer user_data)
The ::user-added signal gets emitted when a user account is created.
user_list |
||
user |
The LightDMUser that has been added. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
“user-changed”
signalvoid user_function (LightDMUserList *user_list, LightDMUser *user, gpointer user_data)
The ::user-changed signal gets emitted when a user account is modified.
user_list |
||
user |
The LightDMUser that has been changed. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
“user-removed”
signalvoid user_function (LightDMUserList *user_list, LightDMUser *user, gpointer user_data)
The ::user-removed signal gets emitted when a user account is removed.
user_list |
||
user |
The LightDMUser that has been removed. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last