[英]Fetch Windows Username and Password
I am looking for a way to fetch windows username and password, to log in into LDAP with those credentials. 我正在寻找一种获取Windows用户名和密码,使用这些凭据登录LDAP的方法。
This code will be on a company's Intranet, so everyone must automatically login. 该代码将在公司的Intranet上,因此每个人都必须自动登录。 That login must be made with each person's Windows Credentials. 该登录必须使用每个人的Windows凭据进行。
I have searched throught the internet, but didn't find any relevant information, or any that would work properly. 我已经在互联网上进行搜索,但是没有找到任何相关信息,或者没有任何可以正常工作的信息。
I am using Windows Xp (Don't know if that matters). 我正在使用Windows Xp(不知道这是否重要)。
thanks 谢谢
Php is server side and its impossible to access any client side info with it. Php是服务器端,因此无法使用它访问任何客户端信息。 You can use javascript to send data to php but you cant access any windows related credentials with it. 您可以使用javascript将数据发送到php,但无法使用它访问任何与Windows相关的凭据。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.