'Parse the WMI Win32_UserAccount output.'

def Parse(self, query, result, knowledge_base):

    _ = (query, knowledge_base)
    kb_user = rdf_client.User()
    for (wmi_key, kb_key) in self.account_mapping.items():
        try:
            kb_user.Set(kb_key, result[wmi_key])
        except KeyError:
            pass
    if (kb_user.sid or kb_user.username):
        (yield kb_user)
