Reverse order of arguments in getgroups call (in example) to match prototype.