Update Users/User.cpp

Added function in class User to getUserPermissions