More in this section

Forums / Developing with Sitefinity / How to redirect logged user to page ?

How to redirect logged user to page ?

4 posts, 0 answered
  1. rent
    rent avatar
    104 posts
    Registered:
    05 May 2008
    13 Mar 2009
    Link to this post

    Question 1. After the authentification of user (which in role Publishers and has restricted permissions) I want to redirect this user to my page, example ~/Publishers/Publishers.aspx

    Question 2 (follow from 1). How to add the metafiled in administation area, that contains a Home URL  and Administartors be able to set this property.

    Thanks!!!

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    13 Mar 2009
    Link to this post
    Hello rent,

    Question 1. After the authentification of user (which in role Publishers and has restricted permissions) I want to redirect this user to my page, example ~/Publishers/Publishers.aspx

    If you are using Login control you can set DestinationPageUrl property of the control.

    Login1.DestinationPageUrl = "MyPageHere.aspx"

    As for the second question, please elaborate a bit more - are you referring to any of Sitefinity's modules or other part of the administration area.

    Regards,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. rent
    rent avatar
    104 posts
    Registered:
    05 May 2008
    13 Mar 2009
    Link to this post
    Sorry for my not the exact question. I want to add metafield "Homerl" for users in the Administartion area - Users. I want show this in column.
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    13 Mar 2009
    Link to this post
    Hello rent,

    You need to edit ~/Sitefinity/Admin/CmsAdmin/Users.aspx template and add new field there - it is not metafield. Then, in your web.config <profile> section you need to register this new property as it is done for FirstName and LastName and specify the type. Check out MSDN for more information.

    All the best,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Register for webinar
4 posts, 0 answered