The visibility controls functionality is designed to enable registered users decide which fields of their public profile will be visible to other users. You can find an example of how this works on the sample Community site.
1. Run the Community site and sign out of the administration interface. Log on to the site using the Sign in form on the right. Enter David with blank password and click Log on.
2. Once logged in, Shortcuts menu will be displayed where the Sign in form previously was. Click the Edit my profile link, you will be redirected to the user's profile editing page.
3. You can see a drop down list next to the E-mail field, as in the screenshot below. Using this control, users can define to whom will the e-mail address be displayed. The following four options are available:
• | Display to none - the field will not be displayed to anyone |
• | Display to all - the field will be displayed to everyone |
• | Display to authenticated - the field will be displayed only to authenticated users |
• | Display to friends - the field will be displayed only to the user's friends |
Choose Display to authenticated and click OK.
4. You have just configured the user's profile so that only authenticated users can see his e-mail address. Let's verify that it really works. Sign out and visit David's profile as an unauthenticated site visitor. From the site's main menu, select Members and click David's icon in the list below. You should see his profile, but the e-mail address is not present.
5. Now sign in the same way as you did in step one, but use Mia with blank password instead. This signs you in as another registered member of the site. And these are the ones who should see the e-mail address, aren't they? So once signed in, view David's profile again. And ... Bingo!!! ... the e-mail address is visible.
Page url: http://devnet.kentico.com/docs/devguide/index.html?custom_fields_visibility_overview.htm