Best way to get user permissions from VB6
Posted on 2009-12-23
Hello, I have the unenviable task of modifying an ancient VB6 program. Don't know if anyone is still using this stuff, but...
A feature we want to add is to disable certain functions if the user is not logged in to that computer as an administrator.
What is the best way (if I recall there are often a few ways to do things in VB6, but they could be of varying reliability/robustness) for a VB6 app to query the OS as to whether the user is part of the Administrators group?
Thanks very much in advance.