Web service and Active Directory??


dear all:

i have web site in ad domain, , authentication mode "windows". then, need call web service windows form application after users login domain. how correct credentials calling web service automatically?

 

thanks lot.


if accessing webservice (secured windows authentication) windows forms app can set credentials property of vs.net generated webservice proxy class

dim proxyclass new <yourwsproxyclass>
proxyclass.credentials = system.net.credentialcache.defaultcredentials


Archived Forums A-B  >  ASMX Web Services and XML Serialization



Comments

Popular posts from this blog

BizTalk Server 2013 Azure VM Log Shipping and HA for hosts

wcf-sql adapter bug for operation on same table

Error connecting to Azure Blob using Shared Access signature