I have created database on sql server successfully but I want to add database role membership. For that I want to know is it possible to add security permission for that database using installer?.
e.g. Got to sql server->Security->Login->right click to Login->Select New Login->click
For login name in Genral Tab->Click Advanced button->Click
Button->Select ANONYMOUS LOGON from list->Click
button->Then Select
Tab which is present on left side->Select Database for which You want to map for user->In database role membership select db_owner & Public ->Click Ok button.
I want to follow above procedure manually.
So please tell me is it possible to add this mapping to database using installer at the time of installation