public async Task <IEnumerable <String> > QueryGroupsNamesUserIsPartOfAsync(kCura.Relativity.Client.DTOs.User user) { try { var userGroupArtifactIDs = user.Groups.Select(x => x.ArtifactID).ToList(); IEnumerable <String> groupNameList = await ArtifactQueries.QueryGroupsNamesForArtifactIdsAsync( rsapiApiOptions : RsapiApiOptions, eddsWorkspaceArtifactId : -1, groupRepository : RsapiRepositoryGroup.GroupRepository, groupArtifactIdList : userGroupArtifactIDs); return(groupNameList); } catch (Exception ex) { throw new AdminMigrationUtilityException(Constant.ErrorMessages.QueryGroupNamesUserIsPartOfError, ex); } }