I am on TS6.7.1 on Linux, I guess this was asked so many times. I am trying to get list of all users by "Full Name" .I was using iwgroup list-users <groupname>. is there an option OOTB to get the fullnames instead of user ids.Thank You
I am on TS6.7.1 on Linux, I guess this was asked so many times. I am trying to get list of all users by "Full Name" .I was using iwgroup list-users . is there an option OOTB to get the fullnames instead of user ids.Thank You
What if some of the fields are not filled out? Would you just get a blank?
(my $iwhome = TeamSite::Config::iwgethome()) =~ tr|\\|/|;my $cmd = qq($iwhome/bin/iwuseradm list-users -t);my @results = qx($cmd 2>&1);foreach my $line (@results){ chomp $line; my @fields = split(/\t/, $line); s|\"||g foreach(@fields); $fields[1] ||= $fields[0]; # use userid if no name print "$fields[1]\n";}