|Perl Monk, Perl Meditation|
PERL en ADSIby PerlUserNL (Initiate)
|on Jan 11, 2011 at 10:58 UTC||Need Help??|
PerlUserNL has asked for the
wisdom of the Perl Monks concerning the following question:
I have to make a script and use ADSI or ado.
The script have to search Active directory for users with the same Front name.
If users where found with the same front name, the username must be write in the General field (in Active directorty)
(account name, fullname, firstname, lastname)
janj, Jan Jansen, Jan, Jansen
janp, Jan Pietersen Jan, Pietersen
janq, Jan Quota, Jan, Quota
jjameson, Jannie Jameson, Jannie, Jameson
Output in the General Field:
janj =¨ janp, janq
janp =¨ janj, janq
janq =¨ janj, janp
jjameson =¨ <empty >
Is there someone, wo can help me with this?
The code above is all what I made