Checking For Admin Rights on WinXP

Category:
System/API
Type:
Snippets
Difficulty:
Intermediate
Author:
Anonymous

Version Compatibility: Visual Basic 6

More information:
A simple snippet of code that checks for admin rights on a WinXP box.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: