This is the class that I use in VB Win Forms applications for user data. this class has methods to return the userid, current database and connection string