How to create new users?

Topics: Developer Forum
Sep 27, 2008 at 3:29 AM
Hey, is there any ways to add new users to the system? I'd like to do a register system and would like to add the user to the N2 user list so that I can get the benefit of privilege control and so on.
Any suggestions will be appreciate.
Coordinator
Sep 27, 2008 at 12:18 PM
Hi, n2.security.dll implements an asp.net membership provider which in turn is used by the user administration.

This means you can either work directly against the undelying data store (content items) for greater flexibility:
  • reference n2.security.dll
  • N2.Context.Current.Resolve<ItemBridge>()...
Or use the membership provider API which would simplify swapping membership implementations later on:
  • System.Web.Security.Membership...


Sep 27, 2008 at 12:41 PM
got it. thanks