My user has an attribute ProfileId. I want to be able to get the logged user\'s ProfileId in a view, similar to how you can get the UserId
ProfileId
UserId