CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Beginner:
ADSI compare usernames


New User

Jan 13, 2011, 4:02 AM

Post #1 of 1 (329 views)
ADSI compare usernames Can't Post

Hi There,

I made the following script:


use strict;
use warnings;

use Win32::OLE;

my $ou;
my @filter;
my $obj;


print "Hier Volgt een lijst van gebruikers:\n";

foreach $obj (in $ou){
print "$obj->{name}\n";
print " First name: " ;
print "$obj->{givenName}\n" ;
print "###############\n\n\n" ;



I need that the script find the users with the same givenName (first name).

Then i need that the users with the same first name, get de username from all users with the same front name in there General field in AD.

Is there someone wo can help me?

Kind Regards



Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives