Is there a way to have a user belong to a member group? So the user can use their credentials to get into private areas of the site that are designated for certain member groups?
Hi. Afaik, umbraco uses custom mechanism of user's authentication and authorisation completely different from usual one of asp.net that members use. Probably it's possible to create some custom authentication module to perform the task you're interested in but I'm not sure about it. BTW, in what scenario do you want to do it? Perhaps it could be simpler just to create a member with the same credentials (login/password) as a user has?
I'm not sure you can do this out of the box, as the user and membership sections use different providers and code. You could write your own membership provider that could check admin users as well, but there's no built in way of adding a CMS user to an member group, you'd have to code up a load of extra controls for the back office to make that work (I can imagine it being quite a bit of work to do and test properly).
I think @Rodion's idea is probably the simplest, just to create a member with the same login details as the CMS user. If you wanted to make it so that they didn't have to login twice, you could add some code to your login page that checks for a logged in CMS user, and if it finds one, it looks for a member with the same username and then logs that user in automatically?
Have a User belong to a member group
Is there a way to have a user belong to a member group? So the user can use their credentials to get into private areas of the site that are designated for certain member groups?
Thanks in advance.
Hi. Afaik, umbraco uses custom mechanism of user's authentication and authorisation completely different from usual one of asp.net that members use. Probably it's possible to create some custom authentication module to perform the task you're interested in but I'm not sure about it. BTW, in what scenario do you want to do it? Perhaps it could be simpler just to create a member with the same credentials (login/password) as a user has?
Hi Carlos,
I'm not sure you can do this out of the box, as the user and membership sections use different providers and code. You could write your own membership provider that could check admin users as well, but there's no built in way of adding a CMS user to an member group, you'd have to code up a load of extra controls for the back office to make that work (I can imagine it being quite a bit of work to do and test properly).
I think @Rodion's idea is probably the simplest, just to create a member with the same login details as the CMS user. If you wanted to make it so that they didn't have to login twice, you could add some code to your login page that checks for a logged in CMS user, and if it finds one, it looks for a member with the same username and then logs that user in automatically?
is working on a reply...
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.