SharePoint User Group UK

Share the knowledge!

Welcome to SharePoint User Group UK Sign in | Join | Help
in
Home Blogs Forums Photos Files Roller

Cannot login as different user

Last post 04-01-2008, 9:24 AM by bcweb. 1 replies.
Sort Posts: Previous Next
  •  03-31-2008, 3:59 PM 9419

    Cannot login as different user

    Hi

    I have been attempting to develop a Sharepoint Intranet for a couple of weeks and have hit a problem which a more experienced user might be able to cure. When I hit my site on any machine or even the server, it is logged in using my admin account. If I try and change the account for another user (I have allowed all authenticated users in the Intranet visitor group) nothing happens. I either get a 401 authentication error OR the user simply stays as the admin account.

    Has anyone had this problem and knows how to overcome it?

    Thanks

    BobC

  •  04-01-2008, 9:24 AM 9424 in reply to 9419

    Re: Cannot login as different user

    er, I've cured this. For those curious to know what was going on, it was this.

    I have created an asp.net page for use with Sharepoint which shows the contents of  the folder of a path passed as a parameter and automatically creates links to those documents. This means that an existing network drive share is used rather than documents uploaded in Sharepoint.

    I was using a test account in the web.config which had access rights to the test folder. Unfortunately I left authorization to this account on. Sharepoint then uses this account as the logged in user when a web application is that uses this web.config is opened.

    BobC

View as RSS news feed in XML
Powered by Community Server, by Telligent Systems