Usage  smuser.(sh/bat) <options> <commands> <command options>
  
Options for SEPDB connection  

  -?,  --help                # this help.
  -h , --host <host>         # specifies the host name.
			       if missing will use localhost;
  -p , --port <port>         # specifies the port number.
	                       if missing will use 10288;
  -d , --dbname <database>   # specifies SEP database name for your 
                               connection.
			       database name is required;
  -u , --user <username>     # specifies the username for SEPDB connection.
			       if missing will use guest;
  -P , --passwd <password>   # specifies the password for SEPDB connection.
		               if missing will use guest;
  -s , --security <security> # specifies the security type for 
                               SEPDB connection.
			       The secutity type must be   jsse or ptls.
			       If missing the connection is opened without 
			       security;

Commands 
	 
  -add                       # create new user in specified SEP database.
  Options for 'add' 
    <username>               # user name that will be added to SEPDB.
			       username is required;
    [--pwd <password>]       # the password for user being to added;
    [--home <homedir>]       # home directory for user being added;
    [--group <initial_group>]# inital group , if missing the group
                               having same name as the user being added;
    [--groups <group_list>]  # the list of supplementary groups witch the
			       user is also a member of.
			         Each group is separated from next by a 
			       comma, with no intervening whitespace;

  -mod                       # modify user account in specified SEP database.
  Options for 'mod' 
    <username>               # the name of the user will be changed from 
                               'username' to 'loginname'.
                               username is required;
   [--lname <loginname>]     # new user name;
   [--pwd <password>]        # new password for user;
   [--home <homedir>]        # new home directory for user;
                                 The contents of current home directory will 
			       be moved to the new home directory;
   [--group <initial_group>] # inital group , if missing the group
                               having same name as the new user 
   [--groups <group_list>]   # the list of supplementary groups witch the
                               user is also a member of. 
			         Each group is separated from next by a comma, 
			       with no intervening whitespace.
                                 If the user is currently a member of a group 
			       witch is not listed, the user will be removed 
			       from the group;

  -del                       # delete user from specified SEP database.
  -list                      # list users or user data from specified SEP 
                               database.
  -block                     # block specified user in SEP database.
  -ublock                    # unblock blocked user in SEP database.
  Options for 'del, list, block, unblock' 
    <username>               # the username that will be removed, blocked, 
                               unlocked in SEPDB or to wish to do data 
			       about user.
                               username is required for del, block and 
			       unblock options;

Examples 
  The following examples for SEP database connection, using 'localhost' , 
port '10288', username 'root' and the <root_password>.

  smuser.sh -add -u root -P rootPWD -d XMLDB --pwd worc crow
    # create user with specified username 'crow' and password 'worc'.

  smuser.sh -mod -u root -P rootPWD -d XMLDB --pwd crow crow
    # change password for 'crow' user in 'crow'.

  smuser.bat -del -u root -P rootPWD -d XMLDB crow
    # delete user 'crow' form specified SEP database.

  smuser.bat -list -u root -P rootPWD -d XMLDB
    # list all users registred into SEP database.

  smuser.bat -block -u root -P rootPWD -d XMLDB crow
   # block 'crow' user, user cant be logined so long as you not use 
     unblock command.