An example SSDT Project for creating logins and users, and latering domain when deploying using PostSSDTBuildDeploy
- Build the Sundae sln in Visual Studio.
- Open the DeploySundae.ps1 File
- Read the comments at the top; set the variables accordingly.
- Dot source the script and execute.
More info here.