Thanks for your replay,
If I am doing refresh from PROD to DEV.
I need take a backup script out permissions for a database before restoring in DEV.
and restore the permissions back in DEV, when the refresh is done.
So, I need help in scripting out permissions for a database..