in my c++ program to find the user permissions for each user in a sql database...i use ListUserPermissions method after importing sqldmo.rll on execution i get an error saying... undeclared identifier..ListUserPermissions !! shud i use any headre file other thann sqldmo.rll ? ranjani