开发者

PHP - Manipulate user picture in active directory

开发者 https://www.devze.com 2023-02-24 05:46 出处:网络
Is it possible to retrieve and update a user\'s picture in Active Directory using PHP? If so, how would this be accomplished?

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

精彩评论

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