Authenticate multiple smb network drives

I am a newbie, and working on a small mount network volume script. How can I prompt for a username and password that will authenticate multiple smb network drives?

Thank you

Stan