Thanks for writing to us.
You can create a Sitefinity website to act an an Intranet site and you can store profile information without having to create database tables. Sitefinity is using the ASP.NET Membership, Roles and Profile classes, so anything you have learned with a regular ASP.NET 2.0 application would apply to Sitefinity.
Building your web application would require adding fields to the profile provider and extending the Create User Wizard Control. You need to open the web.config of your Sitefinity application and locate the profile provider and add fields. Our CMS is also using the Create a User Wizard control from Visual Studio, which we wrapped inside of a user control. The location of that user control to customize is here: [Root]\Sitefinity\UserControls\Login\CreateUserWizard.ascx
This article from Scott Guthrie
will discuss adding fields to the profile provider and customizing the the Create a User Wizard Control. This blog post by Scott Guthrie
will also give you more insight into customzing the profile provider.
When you create users inside of Sitefinity, all of that info is stored in the same membership table and when users sign up on the website using the Create a User Wizard control. On the administrative side, and this is an optional step, you can customize the create a user from when your user is logged into the admin. In this example, I will add a profile field called Nickname. To do so, follow these instructions:
- Open your web.config file and locate this code: <add name="LastName"/>
- Add this code right below it <add name="NickName">
- Open this file:
- You will notice a ASP.NET Repeater Control on the page. Locate the <InsertTemplate> tag
- Add this code
|<cc2:FieldLabel ID="NickNameLabel" runat="server" Text="Nickname" TargetID="NickName">
|<asp:TextBox ID="NickName" runat="server"></asp:TextBox>
6. Locate the <EditTemplate> tag and insert the code from step 5.
In terms of assigning rights to users, this can be done on the page, module and CMS level. Sitefinity creates a group of users and assigns them to roles, which have certain privileges. As an example for the page level, login as an admin, Then, click on the pages tab. After that, click on the all pages and then permissions on the right hand side of the screen. In the middle, you'll see that anyone in the administrators role has full privileges to all pages. For more info on security and Sitefinity, please watch this video
and review the Permissions section of our user manual
I hope that I have given you clear instructions on how to extend the profile provider within Sitefinity. If you have any other questions, feel free contact me.
the Telerik team