When I try to view a scalar function definition I get the following message: "The User Defined Function cannot be scripted as its data is not accessible. Property TextHeader is not available for UserDefineFunction. This property may not exist for this object, or may not be retrievable due to insufficient access rights. The text is encrypted.
Could someone tell me the simplest most benign way to grant myself access rights?