private void EnableUser(Guid memberKey) { var member = _intranetMemberService.Get(memberKey); if (!member.Inactive) { if (member.RelatedUser != null && member.RelatedUser.IsLockedOut) { _intranetUserService.Enable(member.RelatedUser.Id); } } }