When I write or find code that I find helpful I'll often post it as a code snippet. The goal of code snippets is to be a small but useful repository for code I want to be able to reference or find easily. I hope you find it useful.
|Get current user’s roles||roles users|
|Add author profile fields to user profile||users|