This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice This article is not considered official documentation for K2 software and is provided “as is” with no warranties.

Issue

K2 does not return a user from a SharePoint Group when calling the UMUser Get Group Users method.

Symptoms

Forcing the synchronization of site groups between K2 and SharePoint does not seem to help.

Troubleshooting Steps

Determine whether K2 is able to pick up changes to the SharePoint Group by following any of the options below:

  1. Add a new user to the SharePoint Group
  2. Remove a different user from the SharePoint Group
By default, it takes 8 hours for changes in a group membership to reflect in K2. If changes need to be reflected immedately, you may force the syncing from the K2 for SharePoint App. The duration of this operation depends on the size of the site as well as the number of users in the Site Collection group.


If the user is still not being returned by K2 as a member of the group, then you may try the following:

  1. Remove the user from the SharePoint Group
  2. Synchronize groups from the K2 for SharePoint App
  3. Confirm that the user in question has been removed from the group by executing the UMUser Get Group Users SmartObject method
  4. Add the user back to the group
  5. Synchronize groups from the K2 for SharePoint App
  6. Confirm that the user is being returned as a member of the group when executing the UMUser Get Group Users SmartObject method.