In this article we study the Gleason problem locally. A new method for solving the Gleason A problem is presented. This is done by showing an equivalent statement to the Gleason A problem. In order to prove this statement, necessary and a sufficient conditions for a bounded domain to have the Gleason A property are found. Also an example of a bounded but not smoothly-bounded domain in Cn is given, which satisfies the sufficient condition at the origin, and hence has the Gleason A property there.