I want the user of my SSDT Database Project to be created as a user in another database on the same server and give it permissions to connect and add it to the db_datareader role.
I failed to do so. The PostDeployment Script complains about:
- USE command is not allowed
- not knowing the Create User OtherDB.USERNAME Syntax
How can this be realized? Isn't there a script option where I can place any command I want?