External custom members - local umbraco member type
For my company I need to extend an Umbraco CMS v4.5.2 so some pages are only accessible to logged in members. The members are retrieved throu a custom membership provider.
I have already created the provider and added it to web.config. Login is working.
Now I want to use the 'public access' and the member group I've created in Umbraco. How do I make the link between my custom members and the role? There is only one role (member group), all members are part of this group/role.
Should I create a custom role provider or profile provider? Which method do I override?
Ended up fixing this with the "quick & dirty" way.
In my custom member provider I made the validation with the external db but in the getuser method I return a member that exists in the umbraco db. This way I can use the member/role system in Umbraco without big changes.
External custom members - local umbraco member type
For my company I need to extend an Umbraco CMS v4.5.2 so some pages are only accessible to logged in members. The members are retrieved throu a custom membership provider.
I have already created the provider and added it to web.config. Login is working.
Now I want to use the 'public access' and the member group I've created in Umbraco. How do I make the link between my custom members and the role? There is only one role (member group), all members are part of this group/role.
Should I create a custom role provider or profile provider? Which method do I override?
Ended up fixing this with the "quick & dirty" way.
In my custom member provider I made the validation with the external db but in the getuser method I return a member that exists in the umbraco db. This way I can use the member/role system in Umbraco without big changes.
is working on a reply...