开发者

PHP - Manipulate user picture in active directory

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
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜