public virtual void RemoveFromGroup(MemberTypeBase member, bool raiseEvents = false) { MemberService.DissociateRole(member.NodeDetails.UmbracoId, Name); }
public virtual bool IsInGroup(MemberTypeBase member) { return(MemberService.GetAllRoles(member.NodeDetails.UmbracoId).Contains(Name)); }
public virtual void AddToGroup(MemberTypeBase member, bool raiseEvents = false) { MemberService.AssignRole(member.NodeDetails.UmbracoId, Name); }