You are not logged in.
Pages: 1
Hey devs!
We have some logic that runs based on whether or not a user belongs to a specific group. Currently, the only way we can do this is by grabbing all user and group data, and filtering it out clientside. This is a bit of a hassle performance wise.
Could you add some API calls to do this? Ideally, a call like users.IsUserInGroup(mixed userId, int groupId) coupled with a call like users.GetGroupIdFromGroupName(string groupName) would work, but we'll be happy as long as we're not searching through every single user and group to find a match.
Cheers!
Last edited by Ironykins (2015-07-31 16:24:52)
Offline
Hi Ironykins,
Thanks for the suggestion, I will log that in our feature request system.
Best Regards,
Steve
Offline
Thanks Steve!
Offline
Hi,
We are planning to add new methods, Users.GetUserDetails, which would provide the current group ID, Groups.FindGroup, which would return the group ID for a group name, and Groups.GetGroupDetails which would return information from a group ID. This should be available from IMS v6.1.9 onwards.
Dominic
Offline
Pages: 1