User account setting ignored in package
obergman
Posts: 5
Hi,
My database has one user account with the "db_owner" role. This information is ignored in the db package. What am I missing here?
Thank you,
Morten Bergman
My database has one user account with the "db_owner" role. This information is ignored in the db package. What am I missing here?
Thank you,
Morten Bergman
This discussion has been closed.
Comments
This depends. If it is an upgrade package, and the user exists in both databases with the same role membership, the user will not be scripted.
On the other hand, if the package is a new database package, the only possible explanation that comes to mind is the SQL schema option 'ignore users' or 'ignore roles' being set.
What you are looking for is to uncheck the users and roles in the list of objects to Package/Compare. That way you can ignore users and roles. However you may have to use uncheck the option "include dependencies" and check "ignore permissions".
Regards
Dan
Red Gate Software Ltd