'Enumerates all the users on this system.'

def Run(self, unused_args):

    users = self.ParseWtmp()
    for (user, last_login) in users.iteritems():
        username = user.split('\x00', 1)[0]
        if username:
            try:
                pwdict = pwd.getpwnam(username)
                homedir = pwdict[5]
                full_name = pwdict[4]
            except KeyError:
                homedir = ''
                full_name = ''
            if (last_login < 0):
                last_login = 0
            self.SendReply(rdf_client.User(username=utils.SmartUnicode(username), homedir=utils.SmartUnicode(homedir), full_name=utils.SmartUnicode(full_name), last_logon=(last_login * 1000000)))
