As well as Mad Jack, I'm basing my answer on IEEE.
You can find IEEE's documents guiding authors on how to style their papers. The most updated one that I could find today can be download from here. The document is called IEEE Editorial Style Manual and it was published in 07/10/19.
The passage you are looking for is located in the section Biographies, page 13:
[...] The format for listing the IEEE membership history is to list each grade of membership attained followed by an apostrophe and the year it was attained, with each year and grade combination separated from the others by an en dash. Note that if an author attains the same membership grade in more than one year, list only the first year that it was reached. The current membership listed with the biography must match the byline.
Abbreviations for IEEE membership grades are S (Student Member), GS (Graduate Student Member), A (Associate Member), M (Member), SM (Senior Member), F (Fellow), LA (Life Associate Member), LM (Life Member), LSM (Life Senior Member), and LF (Life Fellow). Note that A stands for Associate, not Affiliate, Member. Affiliate memberships are not listed in the byline or biography membership history. Do not include references to IEEE membership from the text of the biography.