Updated 12 p.m. April 30: Revised to reflect President Donald Trump's scheduled appearance at the convention.

President Donald Trump and Vice President Mike Pence will speak at the National Rifle Association's convention in Dallas this week, and unlike the rest of the convention's events, guns will not be allowed.

The vice president will speak at the NRA Institute for Legislative Action leadership forum at the convention May 4 as part of a "powerful lineup of pro-freedom speakers," the association announced last week.

Trump will also be in attendance, a senior White House aide confirmed Sunday, though it's unclear during which part of the convention Trump will speak. The NRA has not announced the president's appearance.

The NRA website's event page for the forum says "firearms and firearm accessories, knives or weapons of any kind" are banned from the forum before and during Pence's attendance. The U.S. Secret Service is in charge of event security because the vice president will be there, the NRA website says.

Cameron Kasky, a survivor of the Parkland shooting at Marjory Stoneman Douglas High School, shared a screenshot of the weapons ban on Twitter, calling the NRA a "hilarious parody of itself."

Fred Guttenberg, father of Jaime Guttenberg, who was killed in the Parkland shooting, chimed in: "I thought giving everyone a gun was to enhance safety. Am I missing something?"

On so many levels, this is enlightening. According to the NRA, we should want everyone to have weapons when we are in public. But when they put on a convention, the weapons are a concern? I thought giving everyone a gun was to enhance safety. Am I missing something? https://t.co/f4wgNhJ7RI — Fred Guttenberg (@fred_guttenberg) April 28, 2018

The Secret Service policy banning weapons at the event is routine at settings involving presidents, vice presidents, or other individuals they're protecting. For example, guns were banned at the 2016 Republican National Convention in Cleveland.

The president spoke at the NRA's convention last year in Atlanta, thanking thousands of gun enthusiasts for their support during the 2016 election, The New York Times reported. The gun rights group spent about $11 million to support Trump in the 2016 election and more than $19 million against his opponent, Hillary Clinton.

"The eight-year assault on your Second Amendment freedoms has come to a crashing end," Trump told the crowd then. "You have a true friend and champion in the White House."

Other scheduled speakers at the forum include Gov. Greg Abbott, Sen. John Cornyn, Sen. Ted Cruz and NRA leaders.

"It's an honor to have Vice President Pence address our members in Dallas," said Chris W. Cox, executive director of the institute, the NRA's lobbying arm. "He is a lifetime supporter of the second Amendment, and he has a long a record of fighting to defend our freedoms."

The 2018 convention, scheduled for May 3-6 at the Kay Bailey Hutchison Convention Center in downtown Dallas, drew criticism from Dallas Mayor Pro Tem Dwaine Caraway in February. Caraway said it would be inappropriate for the NRA to hold its convention in Dallas after 17 people were killed in a school shooting in Parkland, Fla., on Feb. 14.

The convention is free to attend for all NRA members and their families. The annual meeting will include firearms displays and exhibits as well as meetings, luncheons and musical performances.

Attendees will be allowed to carry firearms in the convention center and in the Omni Dallas Hotel in accordance with state law, the NRA's website states — but not during the forum Pence will attend. Firearms will not be sold on site, but ammunition sales are permitted.

The forum where Pence will speak will run from noon to 3 p.m. at the convention center's arena. Doors open at 10 a.m.