Groovy Script : Getting Users from a User Group and filtering by username

This groovy script will return a list of users based off a given UserGroup and allows for filtering by username