private void Events_AfterUpdate(GroupUserAfterUpdateEventArgs e) { //Get all of the forums of this group and get the default subscription and assign the user PublicApi.JobService.Schedule(typeof(SubscriptionUpdateJob), DateTime.UtcNow, new Dictionary<string, string>() { {"UserName" , e.User.Username}, {"GroupId" , e.Group.Id.ToString()}, {"processForums" , bool.TrueString}, {"processCalendars" , bool.TrueString}, {"processGroups", bool.TrueString} }); }
private void Events_AfterUpdate(GroupUserAfterUpdateEventArgs e) { //Get all of the forums of this group and get the default subscription and assign the user PublicApi.JobService.Schedule(typeof(SubscriptionUpdateJob), DateTime.UtcNow, new Dictionary <string, string>() { { "UserName", e.User.Username }, { "GroupId", e.Group.Id.ToString() }, { "processForums", bool.TrueString }, { "processCalendars", bool.TrueString }, { "processGroups", bool.TrueString } }); }