rapid7/metasploit-framework — pull request #1015 by R3dy (2012-11-06 03:09:26+00:00)
Title: Added new Auxiliary module loggedin_users.rb

This module checks uses admin credentials to see what users are logged into a system. It can also simply check for the presence of a specific user. See the following for further explanation.

http://www.pentestgeek.com/2012/11/05/finding-logged-in-users-metasploit-module/