Need to pass arguments while running a Shell Script

Shell Script Gurus,

I am writing a shell script which needs User ID's to pass as an Arguments in command line while executing.

Can this be doable? I've never done this, If you give a sample script that would be helpful, Thanks.

You don't have to do anything special just pass the arguments at the time of invoking the script and then access it in the script using $1, $2, $3 and so on.

[shekar]$ cat shekar777.sh
#!/bin/bash

echo The name of the script invoqued is "$0"
echo The first argument passed at the command line is: "$1"

The result of running it with one argument (user1)

[shekar]$ ./shekar777.sh user1
The name of the script invoqued is ./shekar777.sh
The first argument passed at the command line is: user1