>Hi Cetin
>
>Tnx for your help!
>
>Now About Copying user from one database to another could you please be more specific about the dts package.
>
>However i think it's gona be difficult do to it with a dts package because i know my source database but the destination database will be different each time.
>
>Is therere another way to do it programmatically?
>
>Tnx
>Anthi
DTS exists as a visual tool and as a programmable object. Check DTS on SQL server online help (DTS tool might be writing the script for you, I didn't try).
If passwords were not a matter (I don't know how to retrieve or even if you might ever do) you could use sp_helpuser and sp_addlogin to do it with T_SQL too.
OTOH SQL server login is included for backward compatibility. Maybe you might want to use NT security instead. But what you mean is database objects' security rights then you still need to do it.
Cetin