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.
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!
is working on a reply...