> For the complete documentation index, see [llms.txt](https://www.build3.network/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.build3.network/developers/notes-about-substrate/prebuilt-pallets/membership.md).

# Membership

This allows control of membership of a set of `AccountId`'s.&#x20;

This pallet stores&#x20;

* the list of members
* the `prime` member (master admin account for the membership)

Events are emitted when members are&#x20;

* added
* removed
* swapped
* reset
* changed

Users of authorized origin can

* add members
* remove members
* swap members
* reset members *not sure what this is yet*
* change key (user can change they key associated with membership to a different address)
* set prime (assign the prime member, must be by current member)
* clear prime (remove the prime member, can only be released by prime member)
