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.
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.
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
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:
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.
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
Okay, I'm gonna have a try :-).
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?
Is it better to set restriction on each menu section instead of just the top level node?
is working on a reply...
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.