Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Arslan 8 posts 78 karma points
    Aug 26, 2021 @ 09:32
    Arslan
    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

Please Sign in or register to post replies

Write your reply to:

Draft