# 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)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://www.build3.network/developers/notes-about-substrate/prebuilt-pallets/membership.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
