#!/bin/sh
#
# This script gets pattern string and returns matched users.
# What information should be returned it is up to this script.
#

test -n "$COMMON_LIB_PATH" || COMMON_LIB_PATH="`dirname $0`"
. "${COMMON_LIB_PATH}/common.sh"

read_input_parameters

if [ -n "$param1" ]; then
	grep -F "$param1" "$USER_ACCOUNTS" | awk -F: '{print $3"\nFullName "$5"\nLogin "$1"\n"}'
fi
send_end

