groups_to_user
if (groups_to_user(grouplist, cred->group_info)) {
ret = groups_to_user(optval, cred->group_info);