This paper is presenting a generic ontology-based user modeling architecture, (OntobUM), applied in the context of a Knowledge
Management System (KMS). Due to their powerful knowledge representation formalism and associated inference mechanisms, ontology-based
systems are emerging as a natural choice for the next generation of KMSs operating in organizational, interorganizational
as well as community contexts. User models, often addressed as user profiles, have been included in KMSs mainly as simple
ways of capturing the user preferences and/or competencies. We extend this view by including other characteristics of the
users relevant in the KM context and we explain the reason for doing this. The proposed user modeling system relies on a user
ontology, using Semantic Web technologies, based on the IMS LIP specifications, and it is integrated in an ontology-based
KMS called Ontologging. We are presenting a generic framework for implicit and explicit ontology-based user modeling.