>In a pre-check routine to install a new aplication, I need to check whether the current user has local Admin level access. Does anyone have any idea what API, registry or WSH call(s) might provide this info? Is this OS dependent? (i.e. different for Win95 vs. XP)
>
If you know that the user is being authenticated by an NT, Win2K or XP server, then the NetUserGetGroups() API call would return the set of groups that the user belongs to relative to the referenced authentication source; Admin privileges would usually be inherited as a result of being a member of Administrators, Domain Admins, Enterprise Admins, or the like.
This is not supported by Win9x; you need to direct the query to run on the authentication source under NT/2K/XP.