Hi,
I have created a sample program that can manipulate Photo attribute in AD User class. The code is writtein in C# and it is used for demonstration purposes. Photo attribute is only available in 2003 AD schema. In 2000 you can use thumbnailPhoto attribute instead of photo attribute. They use the sam octet strying datatype. You just need to download the source and modify one line of code.
If anyone wants to try here are the links
Executable http://www.ladava.com/faq/uploads/ADphoto.zip
Sources http://www.ladava.com/faq/uploads/ADPhoto%20(source).zip
You need .NET framework 1.1 to run this stuff.
I have created a sample program that can manipulate Photo attribute in AD User class. The code is writtein in C# and it is used for demonstration purposes. Photo attribute is only available in 2003 AD schema. In 2000 you can use thumbnailPhoto attribute instead of photo attribute. They use the sam octet strying datatype. You just need to download the source and modify one line of code.
If anyone wants to try here are the links
Executable http://www.ladava.com/faq/uploads/ADphoto.zip
Sources http://www.ladava.com/faq/uploads/ADPhoto%20(source).zip
You need .NET framework 1.1 to run this stuff.
MatjaÅ Ladava, MCSA, MCSE, MCT,
MVP
Microsoft MVP Windows Server - Active
Directory