Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SharePoint > SharePoint Development
|
SharePoint Development Programming and development for SharePoint Portal Server and Windows SharePoint Services
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SharePoint Development section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 29th, 2010, 01:10 AM
Registered User
 
Join Date: Sep 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem in authentication of windows credentials when used for sharepoint login

We are developing a desktop application with sharepoint portal integration through web services.For Synchronization with sharepoint 2007 and 2010,
services are provided through wrapper class. In our application,user can login to sharepoint,an check-out or check-in our project.

For log-in, I am using the windows credentials. When I use this credential, for SSL link e.g https://sps.abc.com:92/ ,it gets logged- in with systemAccount, whereas on windows I am logged-in as user1 (with Full Control).And if I check out any project with current log-in ,it is showing that project is check out SystemAccount instead of user1.However it works fine for http link.

System.Security.Principal.WindowsIdentity.GetCurre nt() is showing user1 as current user.

I'm getting credential through this ,
NetworkCredential credentials = System.Net.CredentialCache.DefaultNetworkCredentia ls;

I have tried CredentialCache.DefaultCredentials, but of no use.

Is there any other way for getting the credential of current windows user? or any other solution.

thanks in advance





Similar Threads
Thread Thread Starter Forum Replies Last Post
Using windows login credentials aldwinenriquez ASP.NET 2.0 Professional 0 June 18th, 2006 08:34 PM
Login credentials? mikedeepak Classic ASP Professional 1 February 13th, 2006 08:28 AM
Login Authentication: session start( ) Problem!! jivogxf BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 0 August 18th, 2005 11:42 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.