Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hi all,
when i try to get the lastlogoff/lastlogon/whencreated properties i get smothing like this result:Win32::OLE=HASH(0x51791e8) other properties works fine, any idea why? and how to solve it?
#!/usr/bin/perl use Win32::OLE::Variant; $userObject = Win32::OLE->GetObject("LDAP://CN=<cn>,OU=<ou>,DC=bateman +,DC=co, DC=il"); $data1 = $userObject->{lastlogoff}; print $data1;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Newbie, AD problem
by bingos (Vicar) on May 26, 2011 at 10:10 UTC | |
Re: Newbie, AD problem
by choroba (Cardinal) on May 26, 2011 at 08:38 UTC | |
by Anonymous Monk on May 26, 2011 at 08:51 UTC | |
Re: Newbie, AD problem
by Ratazong (Monsignor) on May 26, 2011 at 09:12 UTC |
Back to
Seekers of Perl Wisdom