Want to set Member status to suspend in default for MemberListView
When an user is registered under Member group, the default value is considered as approval for member. How can we restrict the member status to Suspend Status by default. I would like like to approve or delete the user once the user registers.. Please assist
Want to set Member status to suspend in default for MemberListView
When an user is registered under Member group, the default value is considered as approval for member. How can we restrict the member status to Suspend Status by default. I would like like to approve or delete the user once the user registers.. Please assist
You would need to hook into the MemberService
Created
event and set the status to suspended as it's created - take a look at the documentation here:https://our.umbraco.org/documentation/Reference/Events
Start by creating a class to inherit from the
ApplicationEventHandler
class, and then subscribe to the appropriate event on theMemberService
.is working on a reply...