是否可以从Active Directory获取用户信息(电子邮件,电话) [英] Is it possible to get user information (email, telephone) from Active Directory
问题描述
是否可以通过Java Web Application从Active Directory获取Windows登录的用户信息(例如电子邮件,电话)?
我已经做到了以下几点:
1-获取当前登录的Windows用户(带有模拟)(但无法获取用户信息)
或
2-使用AD登录并获取用户信息.
似乎(至少使用当前的AD配置)不可能获得当前的登录用户及其所有信息.是真的吗?
有帮助吗?
Is it possible to get the Windows logged-in user information (such as emails,telephones) from the Active Directory from a Java Web Application without having to log in?
I have managed to do the following:
1-Get the current logged-in windows user (with impersonate) (but cannot get the user information)
or
2-Login against the AD and get the user information.
It seems that is not possible (with the current AD configuration at least) to get the current logged-in user and all of it''s information. Is it true?
Any help?
推荐答案
关注:
http://www.deepakgaikwad.net/index.php/2009/09/24/retrieve-basic-user-attributes-from-active-directory-using-ldap-in-java.html [
Follow:
http://www.deepakgaikwad.net/index.php/2009/09/24/retrieve-basic-user-attributes-from-active-directory-using-ldap-in-java.html[^]
这篇关于是否可以从Active Directory获取用户信息(电子邮件,电话)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!