Copied to clipboard

Flag this post as spam?

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


  • Simon Dingley 1433 posts 3334 karma points c-trib
    1 week ago
    Simon Dingley
    0

    MemberService.GetAllRoles Returns No Results for Members

    Are there any known issues with the GetAllRoles method in v7? I am getting no results using member id or login name yet if I use System.Web.Security.Roles.GetRolesForUser(loginName) I do get results albeit the wrong results.

    Using the System.Web.Security.Roles.GetRolesForUser method I am not getting accurate results where I am calling it in my MemberIndexerGatheringNodeData event handler. If I change the member groups in Umbraco and save the member I do not get back the new groups only the previous groups until the member is saved for a second time. This leads to inaccurate data being stored in the examine index for members.

    If there are known issues any suggestions to work around this without having to rely on editors to save members twice would be helpful.

    Thanks

Please Sign in or register to post replies

Write your reply to:

Draft