Copied to clipboard

Flag this post as spam?

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


  • Mattias Jonsson 11 posts 31 karma points
    Sep 28, 2011 @ 15:50
    Mattias Jonsson
    0

    How to login users, using user control?

    Hello everyone!

    I am new to Umbraco, and am at a junior level at .NET/C#. I want to implement a login control, using a .NET user control Macro. I want my login to be at top of page at same position on every page. I therefor want it to be placed in my Master Page. When I have tried to set login protection on certain pages, I am asked about a login page. But I do not want a special login page. I want it in the master page. 

    So my questions to you smart people are: 
    * How do I implement login functionality using a .NET user control macro, or a razor macro? 

    * How do I set page permissions based on master page login control, rather than a specific aspx-page? 

    I am sorry if I am not describing this very well. I am a bit new to all this. Any advice you might have, will be greatly appreciated. 

    Friendly greetings from Mattias!

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies