Query for a User’s Roles

Some folks have asked about doing a query of  a given user’s roles. While this is not yet in the UI it is pretty easy to do via script. Here’s a sample, if you’re integrating AzMan interfaces into your custom UI this logic could be used to implement a user role query across a store….