Membership query
Ask your published membership definition how it decides one person right now, by member code or email.
Studio roles: "Owner" and "Administrator", and Studio users with a permission set that holds "Run membership queries", or a permission that includes it: "Community: manage", "Handle the support desk", "Redemptions: manage", "Booking requests: manage" or "Form submissions: manage". Each desk also offers the query in its action pane, with the item's member code or email filled in. A stakeholder may hold "Run membership queries" too: the query changes nothing. Other Studio users do not see "Membership query" in the sidebar. Permissions lists which permission each page and action needs.
A membership query asks your published membership definition how it decides one person right now, by their member code or their email, as a login check would: by status only, without names, birth date or challenge code. It tells you, for example, whether PQ-10017 is still let in after the change you saved this morning, without anyone having to sign in. The membership query was called "Member code query" before it took emails; the old address of the page still leads here.
The query always asks the saved definition. Changes you have not saved yet in the editor are not part of it: a query reflects them only once you choose "Save and publish", which publishes them at once. To see what unsaved changes would do, use the preview before saving.
Run a membership query
- Open "Membership query".
- Enter the "Member code or email", for example PQ-10017.
- Choose "Query".
An entry you type with an @ is an email, anything else a member code. A query opened from the check lookup or a desk knows which it is, so a member code that holds an @ is still asked as a member code, until you type another entry. A member code is asked of the registers that hold member codes; an email is asked of the registers that hold emails, and found in any case, so Anna.Berger@pannoniqa.example and anna.berger@pannoniqa.example are one person. A register that holds the other kind of identity answers "Not found" without being asked. The registers that hold emails are manual email registers; while none is part of your definition, a query by email answers "Not found in any register".
From the check lookup, "Run the membership query" opens the membership query with the member code or email filled in. The query runs only when you choose "Query".
If your definition has no register assignments yet, the page shows "Your membership definition has no registers yet." with a link to "Membership definition" instead of the form.
With "Run membership queries" alone, without "Community: read", the membership query is all you see of Community: the sidebar shows no other page of the area, and the result names the definition version without linking to it.
Read the result
The result shows:
- the outcome: "Valid", "Not valid" or "Unavailable", with the reason, such as "Not found in any register";
- which register decided, at which position, and the entry it found;
- that entry as the register holds it, with its claims (below);
- "Register by register": what each register answered, for example "Found, filtered out: this register does not count the status Inactive", or "Not reached: a register above decided";
- which communities the person would land in;
- "Decided under definition version N": the version of the definition the query asked, linked to that version in the version history if you may see the membership definition.
In Pannoniqa AG, PQ-10017 is the retiree Johann Gruber. "SAP HR" is asked live and does not find him, nor does "Works council". "Retirees" at position 3 decides: the result is "Valid", and he lands in the communities "All staff" and "Retirees". Below, the result shows his entry in "Retirees", with his birth date, the other fields of his entry and the claims the register declares.
The entry and its claims
Whenever a register decided, also when it refused, the result shows the entry that register holds for the person. Nothing is shown when no register decided.
- "Entry in the deciding register": for one of your own registers, first name, last name, birth date, phone, street, zip, city, country, status, groups, membership start and whether a challenge code is required. The challenge code itself is never shown. A manual email register's entry, found by email, shows the same fields but the challenge code, which it has none of. An external register shows first name, last name, birth date, street, zip, city and country as it gives them, its status, and the register's groups, which everyone it finds carries. A field the register does not hold shows "—".
- "Claims": every claim of the entry, by its name; a claim of your organisation's own, or an unknown one an external register returns, by its key. For one of your own registers, every claim it declares is listed, with "—" where the entry holds no value. Yes and no, percentages, working hours per week (such as 38.5 h), numbers and dates are shown in your language; a date is the day as stored, whatever your time zone.
An external register is asked once more for the entry after it decided, unless the query already asked it for the claims. If it cannot answer, the outcome, "Register by register" and the communities stay as they are, and the result says "The register could not give the entry right now", with the cause. The entry and its claims never change the outcome, and a claim the register sends in a form the register API does not allow is left out.
Nothing is saved or logged
External registers are asked live, as at a real check. Otherwise a query leaves no trace: nothing is saved, and neither the member code or email nor anything a register returns for it is logged.
- It is not a membership check. A query never appears in the check log, so the check lookup never shows it. The check lookup shows the checks that already happened; a membership query asks what would happen now.
- It is never a failed check. A "Not valid" answer does not count towards the rate limits, and queries are not limited by them.
- It changes no membership. The member's status and communities still change only at their next membership check.
When to use it
After you save a change to the membership definition, for example a new order of the registers or a register that refuses, query a member code you know should stay valid, and one you expect to be refused. If an answer is not what you expected, change the definition and save it again.
It also helps with support: when the check lookup shows why a past check failed, a query tells you whether the same member code or email would be decided differently now, for example after you changed the status in the person's entry. A query does not compare names or birth date, so it cannot tell whether "Names or birth date do not match" would happen again.