Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Importing a jpeg into an AD attribute with Win32::OLE

by bingos (Vicar)
on Jul 12, 2011 at 15:53 UTC ( #913943=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
      }
    }
    exit 0;
    
  2. or download this
    use strict;
    use warnings;
    ...
      $user->SetInfo;
    }
    exit 0;
    
  3. or download this
    Function ReadBinaryFile(FileName)
    Const adTypeBinary = 1
    ...
    objNewUser.GetInfo
    objNewUser.Put "thumbnailPhoto", ReadBinaryFile("image.jpg")
    objNewUser.SetInfo
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://913943]
Approved by Corion
Front-paged by MidLifeXis
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (9)
As of 2015-07-08 08:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (96 votes), past polls