ENG-7193: Add /profile to get current user's permissions.

/profile will return { "user" : username, "permissions \:["ALLPROC","DEFAULTPROC","DEFAULTPROCREAD","SQL","SQLREAD"] }
I bet there is a mapper method that outputs to a writer directly. This way you may bypass the creation of an extra string