Entries:
Comments:
Posts:

Loading User Information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading User Information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

Forms Authentication with SharePoint (in English)

Download

Right click “Save as…”

This screencast shows you how to use FormsAuthentication on a Windows SharePoint Services 3.0 site (WSS 3.0).

It then continues with showing how to enable multiple authentication methods on one site (using Windows authentication and FormsAuthentication simultaneous).

Last but not least it shows how to create a page in SharePoint that let you administrate your users that uses FormsAuthentication (in this case how to create new users).

Oh, yeah. It starts where http://channel9.msdn.com/ShowPost.aspx?PostID=314283#314283 left off.

Tags:

Follow the Discussion

  • I am trying to setup FBA by using a provider that inherits from the MembershipProvider and has to plug-in to the existing authentication provider.  I got it to show the Access Denied (confirmed by checking the trace) and the login does return a true means it is authenticating against the db, however, I am not able to pull up the user account in the site collection administrators, simple get user not found.

    Any idea on what I need to do here?

    thanks.
  • Sorry for my late response, I don't check this place for comments...

    I'm guessing that you haven't implemented the GetUser function.

    Set breakpoints on all the functions (they throw exceptions from the beginning), and then attach to the w3wp.exe processes. Then you should be able to see which function that doesn't do what it's supposed to do.

    My next screencast will show how to build your own Membership provider that can be used on any ASP.NET 2.0 site (including SharePoint).

  • Thank alot for your lesson anyway I have one problem in my sharepoint. I created picture library to store picture but when I upload mutiple pictures from client picture (Microsoft office picture manager) it display error message "Fail to upload xxxx.jpg try upload again.."
    Is there any solution to download multiple pictures after we use aspmembershipProvider?

    Thank.

  • I'm guessing that you mean "... UPLOAD multiple pictures..."

    This is outside my area of expertise, but when you choose Forms Authentication you most often don't click in "Enable Client integration" in SharePoint because this is best practise.

    So I don't think this error is related to your provider, rather if you want this functionality you should use AD instead...
  • Question, I've implemented a membershipprovider that calls the MS dynamics crm  webservices to authenticate against the contacts. When I try this in an asp.net webapplication it works good. but in sharepoint (after I gave the server full trust permissions) nothing happens, really nothing. I do not get error's nor confirmation. I always get "the server cannot check your credentials" in the FBA page and in the lookup dialogs in SCAW I get "the user is not found"

    Normally errors should be written to the application event log but nothing in there.

    Thanks
  • When clicking on Play, nothing happens. Is there anywhere I could download this screencast?

    Tnx in advance!

    /S.

  • Hi!

    I'm talking to the Channel9 team about this. Please send me an email if you need it faster then they work (kalleb@microsoft.com)

  • If you right click on the preview and choose save as then you can download the screencast.

Remove this comment

Remove this thread

close

Comments Closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.