Restore User::getData() method.
Merge pull request #6146 from tristanlins/hotfix/restore-user-getData