Hi All,
I am trying to get count of my enabled admin users of umbraco site. But when I call UserServiceObj.GetCount(MemberCountType.Approved), I get count of disabled users. Moreover, when I try to get list of users using UserServiceObj.GetAll(0, 10, out totalCount), I get all users (enabled + disbaled). How can I get only list of enabled users? Please guide what am I missing here.
Umbraco Version: 7.6.0
IUserService GetCount & GetAll returning unapproved users
Hi All, I am trying to get count of my enabled admin users of umbraco site. But when I call UserServiceObj.GetCount(MemberCountType.Approved), I get count of disabled users. Moreover, when I try to get list of users using UserServiceObj.GetAll(0, 10, out totalCount), I get all users (enabled + disbaled). How can I get only list of enabled users? Please guide what am I missing here. Umbraco Version: 7.6.0
Thanks
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.