Yes, you're declaring uses inside the scope of users(), so it goes out of scope with the end brace }
If you want to access it across member functions, you need to make it a member variable (most likely private). You should also delete[] it when you are done with it since you're using new[]