I am trying to run a series of tests for a web portal, that it can access the database(Access), before the users actually start to use it. One of the things i need to test is whether the portal, can access the database when it is on a network(mostly LAN). Now, one of the tests related to the IIS, is that whether it has the right domain user, who can access the database over the network. Now is there a way i can automate this i.e. in a VB program/ or run an asp page to detect whether the user has right permissions or not??