简体   繁体   中英

LDAP in Silverlight applications

We have an existing ASP.NET application in which we use LDAP to fetch the current logged in users' details to display on the web page and perform other actions.

We would like to use LDAP to authenticate and fetch users details in our new Silverlight application too(this application has both a Silverlight front end and a WCF service to feed data) . Is it possible and if so how?

You can't directly interact with LDAP in Silverlight. For that, you must implement a WebService on your web server that will interact with Silverlight. Then in your Silverlight application you will be able to use that Webservice.

Or, if your application is only gonna be used on Windows. You can use WPF to create an XBAP application. That will allow you to use the System.DirectoryServices directly since its using the full .NET framework.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM