1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Creating Authenticated area

Creating Authenticated area

6 posts, 0 answered
  1. Siddesh Kapadi
    Siddesh Kapadi avatar
    239 posts
    Registered:
    09 Oct 2009
    27 May 2010
    Link to this post
    How can I create a autheticated / secured section inside the sitefinity?
    I need to do the following:
        - Create logins from the admin
        - Providng the credentials to the user
        - Share few articles, news, documents, etc.. specific to the user and should be viewable to the authorised user ONLY and should not be searched. This should be available only when the user logs in.

    Immediate help is highly appreciated.


    Thanks in advance.
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    27 May 2010
    Link to this post
    Hi Siddesh Kapadi,

    Please take a look at

    If you want to hide particular news items you could create a custom control that inherits from NewsView, override SetItemMetadata method. Inside this method you have access to all content items that are bound to the repeater. You also have access to all controls inside and outside of the repeater. The controls inside the repeater can be accessed through the itemContainer which is one of the parameters of SetItemMetadata.
    Regards,
    Ivan Dimitrov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. Siddesh Kapadi
    Siddesh Kapadi avatar
    239 posts
    Registered:
    09 Oct 2009
    25 Jun 2010
    Link to this post
    Hello Ivan Dimitrov,

    Thanks for the reference documents, but those are roles specific and i require the autheticated area as per the user. Please help in this !!!



    Regards,
    Siddesh Kapadi
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    25 Jun 2010
    Link to this post
    Hi Siddesh Kapadi,

    You can use

    UserManager.GetCurrentUser(); - returns IPrincipal
    UserManager.GetCurrentUserName() - returns string

    to get the names of the users. Sitefinity permissions are Role based, so you need to specify a range of the users that will be able to see/not to see some data.

    Greetings,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  5. Siddesh Kapadi
    Siddesh Kapadi avatar
    239 posts
    Registered:
    09 Oct 2009
    25 Jun 2010
    Link to this post
    Hi,
    From the previous reply it seems that sitefinity supports content management as per the role rather than the user right?


    Regards,
    Siddesh Kapadi
  6. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    25 Jun 2010
    Link to this post
    Hello Siddesh Kapadi,

    Yes this is how the permissions are implemented in 3.x edition. There will be granularity in Sitefinity 4.0 which CTP is available for downloading.

    Kind regards,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Register for webinar
6 posts, 0 answered