Is it possible to retrieve and update a user's picture in Active Directory using PHP? If so, how would this be accomplished?
Here is my se开发者_如何转开发tup:
- PHP 5.3 on IIS 7.5
- Domain controller is Windows 2008
i told about it pictures-in-active-directory
I don't think the user image is stored inside the Active Directory by default. User images are stored in the user profile and not in the Active Directory.
It is possible to extend the Active Directory schema to include images, but they are not used for the user image when logging in for example.
Active Directory exposes the jpegPhoto attribute for this, see the following links:
- Using the jpegPhoto attribute in AD
- jpegPhoto Attribute
精彩评论