Boundary conditions are given by on some surface (dirichlet boundary conditions), or on some surface (neumann problems).
Using green's theorem, you get for , 2 different solutions. This means uniqueness up to a constant for neumann boundary conditions and uniqueness for the dirichlet problem.