Although mayonnaise can be used in some recipes which call for cream cheese, it is not a substitute that would yield the same results. Mayonnaise does not have the same texture or flavor as cream cheese and is an entirely different ingredient. Cream cheese has a thick, creamy consistency and a mild, slightly tangy flavor that mayonnaise simply cannot replicate. Additionally, depending on the recipe, cream cheese can provide additional structure and stability to the dish, whereas mayo will only act as a wetting agent. Therefore, if you are looking to make a recipe that calls for cream cheese, it is best to stick with that ingredient rather than using mayonnaise as an alternative.