Added userGroups and matchAll properties to the snippet

Fixes #2