Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not get groups and memberships from User #309

Open
oblin opened this issue Oct 29, 2022 · 1 comment
Open

Can not get groups and memberships from User #309

oblin opened this issue Oct 29, 2022 · 1 comment
Assignees

Comments

@oblin
Copy link

oblin commented Oct 29, 2022

  • Redmine server version 5.0
        parameters.Add(RedmineKeys.STATUS, userStatus.ToString());
        parameters.Add(RedmineKeys.INCLUDE, $"{RedmineKeys.GROUPS},{RedmineKeys.MEMBERSHIPS}");

        var users = await _manager.GetObjectsAsync<User>(parameters);

users had been retrieve, but groups and memships always be null
Please help, thanks.

@zapadi zapadi self-assigned this Feb 28, 2023
@surebrec
Copy link

works only if user is admin in redmine. please check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants