I want to get whether current user is Admin or guest of a machine
in the control panel -> user accounts you can see your account type.