Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Michael 22 posts 61 karma points
    May 26, 2014 @ 12:40
    Michael
    0

    how to check that if the user log in?

    Hello everyone, I have a problem regarding to user's access. I have an independent web page(like: text.aspx or test.html),  certainly, everyone could access it as long as I publish it under th website.

    In my scenario, I just want part users to access  this page.

    I try to add inspection for user when load this page. so I don't know how to check it.

    I don't know it is possible to implement it. if not, please tell me how to implement it in the best way.

    Thank you very much!

    Hope someone help me. 

  • Charles Afford 1163 posts 1709 karma points
    May 27, 2014 @ 13:40
    Charles Afford
    0

    Hi, What version of umbraco are you using?

    What code are you writing webforms or razor?

    Are you trying to see if the member is logged in to the site or Umbraco?

    Are you trying to see if the member is logged in to your site or an external site?

    Charlie :)

  • Benas Brazdziunas 34 posts 156 karma points c-trib
    May 29, 2014 @ 16:40
    Benas Brazdziunas
    0

    In any versions you can have member group and set Public Access withing Umbraco to your page. enter image description here

    If there is no user loged in then Umbraco redirects to login page if used doesnt have permissions then to error page

Please Sign in or register to post replies

Write your reply to:

Draft