London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
AI OnAI Off
London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
Hi,
First, I will query like below to see whether there is such user, this returns 0 users.
CommunitySystem.CurrentContext.DefaultSecurity.GetQueryResult(IUserQuery query);
And I will create an IUser as below,
EPiServer.Community.CommunitySystem.CurrentContext.DefaultSecurity.AddUser(IUser user);
Then, I will query like below after some time (let's say 2 seconds - 2mins after creating the IUser as above),
CommunitySystem.CurrentContext.DefaultSecurity.GetQueryResult(IUserQuery query);
However, that newly created IUser does not return from the query in first couple of minutes. Does this involve caching? Because after some time (Probably after 15-30 mins), the query above returns the IUser which I have created. Which is so strange.
I need to have the results without caching if caching is involved for the above query.