	PROGRAM		USERS
!
!
!	****************************************************************
!
!		This program will read the system user authorization 
!	file and will produce a listing on either the line printer or at 
!	the terminal.
!
!	WRITTEN:	21-FEB-1983
!
!	LAST CHANGED:	24-FEB-1983
!
!	WRITTEN BY:	F. A. Kenney
!
!
!
!	NOTE:	The following must be performed in order for users to 
!		use the program.
!
!	1) The file USERS.HLP must be added to the library SYS$HELP:HELPLIB.HLB
!	2) The following must be done in the system wide login file
!
!		$ SET COMMAND USERS.CLD    (USERS.CLD  must be in SYS$MANAGER)
!
!	3) The program should be compiled and linked with /NOTRACE and 
!	   /NOSYMBOL
!	4) The program should be installed with /PRIV=SYSPRIV every time 
!	   the system is booted
!
!	****************************************************************
!
!
	CHARACTER	SEARCH_STRING *255
	INTEGER		STRING_LENGTH
	LOGICAL		PRINTER


	PRINTER			=	.FALSE.


	CALL GET_COMMAND_LINE(SEARCH_STRING, STRING_LENGTH, PRINTER)

	CALL OPEN_UAF

	IF (PRINTER)	THEN

		CALL PRINTER_OUTPUT(SEARCH_STRING(1:STRING_LENGTH))

	ELSE

		CALL TERMINAL_OUTPUT(SEARCH_STRING(1:STRING_LENGTH))

	ENDIF


	END
