Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Daniel Horn 319 posts 344 karma points
    Jan 02, 2010 @ 16:19
    Daniel Horn
    0

    Using Members

    Is there any tutorial out there on how to use members the best way? I'm currently doing an intranet - and need some guidance in the best practices about how to use members for this.

    The members of the intranet will face a login page when they try to access their url and all sites should be password protected.

  • Simon Justesen 436 posts 203 karma points
    Jan 02, 2010 @ 16:45
    Simon Justesen
    1

    Hi Daniel,

    Umbraco is heavily intergrated with the standard ASP.NET membership provider, meaning that you can utilize everything from that. Setting up restricted areas is easy: Just place a login-control on your masterpage, restrict some pages from public view, create the membergroup in umbraco, set the group in web.config and you're flying.

    When you need to expose member properties I recommend you look at this cool article by Aaron Powell:
    http://www.aaron-powell.com/blog/july-2009/umbraco-member-profiles.aspx 

    and this wikipage: http://our.umbraco.org/wiki/how-tos/membership-providers

    It's the 'new' way of doing member operations. Umbraco 4 does feature it's own set of member functions, but these should be avoided as those functions will be marked obsolete as of the fourthcoming version 4.1

  • Daniel Horn 319 posts 344 karma points
    Jan 02, 2010 @ 22:24
    Daniel Horn
    0

    Okay, I'm gonna have a try :-).

     

  • Daniel Horn 319 posts 344 karma points
    Jan 03, 2010 @ 14:10
    Daniel Horn
    0

    I've got it working :-) - only one problem - when i put the restriction on the "homepage" node which is the holder for all my textpages etc. the site gives me this error:

    http://intranet.virtua.dk/

    When i remove the restriction the error is gone - any ideas what the problem is?

  • Daniel Horn 319 posts 344 karma points
    Jan 03, 2010 @ 14:29
    Daniel Horn
    0

    Is it better to set restriction on each menu section instead of just the top level node?

     

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies