#!/bin/sh
#
# This script gets user ID and returns necessary information about user.
# How necessary this information should be 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
	awk -vuser_id="$param1" -F: '{if($3 == user_id) print "FullName "$5"\nLogin "$1"\n"}' "$USER_ACCOUNTS"
fi
send_end

