Look and see if they're a member of the Administrators group?
NetUserGetGroups API. And perhaps NetUserGetLocalGroups.
Should be OK on all the OSs, but may require special permissions under XP.
You almost certainly have to be running as an authenticated user.
## dave ##
> When a person sign on a win2000 machine, is there a way to determine the
> type of account they are using?
>
> 1. What I'm looking for is to determine if the account is the
administrator
> account.
> 2. Does this person have administrator permissions?
> 3. What group does this person belong to?
>
> I need to know this for NT and XP also...
>
> Thanks Gang.
>
> Mitch Spruill
> Mannatec, Inc.
>