|
-
Apr 15th, 2010, 11:59 AM
#1
Thread Starter
Hyperactive Member
Active Directory: Storing Images? Best approach
Basically I need to store a single photo in active directory (picture ID of the employee).
Is there anyway I can actually store this picture directly into active directory?
I figure my options are:
1# Find a way to store in AD
2# Upload it to the server, and stick the location of it in some field in AD (like webpages?)
3# Use a database (I got old code that does exactly this, but we are looking for a pure AD solution)
-
Apr 15th, 2010, 04:06 PM
#2
Lively Member
Re: Active Directory: Storing Images? Best approach
AD objects, e.g. users, have useful extendedAttributes that you could store a location to the file on the file system with?
I wrote a book  Visual Studio 2008 Programming
Amazon.com / Visual Studio 2008 Programming / By Jamie Plenderleith & Steve Bunn
-
Apr 15th, 2010, 06:58 PM
#3
Thread Starter
Hyperactive Member
Re: Active Directory: Storing Images? Best approach
Extended attributes is option two right now (ewe arent usiung the webpage field).
-
Apr 15th, 2010, 11:34 PM
#4
Re: Active Directory: Storing Images? Best approach
Isn't there a jpegPhoto attribute? What server OS are you using? I think this was new in Windows Server 2003.
-
Apr 16th, 2010, 11:46 AM
#5
Thread Starter
Hyperactive Member
Re: Active Directory: Storing Images? Best approach
I cannot find that attribute in AD Users and Computers. Is it a field that does not have a GUI?
-
Apr 17th, 2010, 12:17 PM
#6
Re: Active Directory: Storing Images? Best approach
I've never heard of that jpegPhoto attribute but if it exists you will not find it in AD Users & Computers - you could use ADSI Edit (built in with Server 2008, free download for Server 2003) to view all of the attributes of a user object.
EDIT: in fact a quick google of that attribute returns the following VB.NET tutorial on how to use it http://blogs.technet.com/btrst4/arch...30/222629.aspx
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|