Actually when I ran only that piece of code you posted I get this:

0 - The operation completed successfully.
InGroup() = 0