3 #----------------------------------------------------------------
5 #----------------------------------------------------------------
7 require '../oils_header.pl';
8 use vars qw/ $apputils $memcache $user $authtoken $authtime
9 $AUTH $STORAGE $SEARCH $CIRC $CAT $MATH $SETTINGS $ACTOR /;
10 use strict; use warnings;
12 my $config = $ARGV[0];
13 err( "usage: $0 <bootstrap_config>" ) unless $config;
14 osrf_connect($config);
16 my( $user, $evt ) = simplereq($STORAGE, 'open-ils.storage.direct.actor.user.retrieve', 1 );
17 oils_event_die($evt); # this user was not found / not all methods return events..