Lines Matching refs:username
79 dbus_free (info->username);
116 * Looks up a uid or username in the user database. Only one of name
123 * @param username username or #NULL
130 const DBusString *username,
136 _dbus_assert (uid != DBUS_UID_UNSET || username != NULL);
138 /* See if the username is really a number */
143 if (_dbus_is_a_number (username, &n))
151 info = _dbus_hash_table_lookup_string (db->users_by_name, _dbus_string_get_const_data (username));
169 _dbus_string_get_const_data (username));
189 if (!_dbus_user_info_fill (info, username, error))
199 username = NULL;
210 info->username,
290 info->username) ||
357 * Gets username of user owning current process. The returned string
360 * @param username place to store pointer to username
364 _dbus_username_from_current_process (const DBusString **username)
372 *username = &process_username;
403 * @param username the username
408 _dbus_homedir_from_username (const DBusString *username,
422 if (!_dbus_user_database_get_username (db, username,
479 * Adds the credentials corresponding to the given username.
489 * @param username the username
490 * @returns #TRUE if the username existed and we got some credentials
494 const DBusString *username)
508 if (!_dbus_user_database_get_username (db, username,
648 * Gets the user information for the given username.
651 * @param username the user name
658 const DBusString *username,
662 *info = _dbus_user_database_lookup (db, DBUS_UID_UNSET, username, error);