Am I Admin?

This is a quick sample code that I used quite often on customer sites:

  1. To Check whether or not I am a local admin on my machine.
  2. To quickly list what Windows groups my user account is part of.

(more…)