Knowledge management (KM) plays an important role on increasing organizational performance especially governmental agencies where there are different skills and knowledge within the organization. In this study, we present a study to investigate the effect of KM on having more customer oriented organizations. We use a standard questionnaire among 146 randomly selected employees out of 170 people who work for four governmental organizations in city of Chahbahar, Iran. The collected information is analyzed using structural equation modeling and by validating the results using Cronbach alphas of more than the minimum desired level of 0.70, we determine the positive relationships between KM and three other variables including customer absorption, customer retention and customer relationship management. The results of this survey reveal that an increase of one unit in KM yields almost the same increase in three mentioned variables accordingly. In addition, an increase of one percent in KM will increase customer orientation by almost one percent.