• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/authentication/internal/userpasswordtable.php
  • Класс: BitrixMainAuthenticationInternalUserPasswordTable
  • Вызов: UserPasswordTable::getUserPasswords
static function getUserPasswords($userId, $limit)
{
	return static::query()
		->addSelect("PASSWORD")
		->where("USER_ID", $userId)
		->addOrder("ID", "DESC")
		->setLimit($limit)
		->fetchAll();
}