public async Task LoginManyAsync() { var userCollection = this.cremaHost.GetService(typeof(IUserCollection)) as IUserCollection; var userCount = await userCollection.Dispatcher.InvokeAsync(() => userCollection.Count); var count = (int)(userCount * 0.25); await cremaHost.LoginRandomManyAsync(count); }