# space.highport.sites.getVisitorAccess

> Published by [lexicons.highport.space](https://lexicon.garden/identity/did:plc:ciygg5hma4q7ah2kxaszkyob)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:ciygg5hma4q7ah2kxaszkyob/space.highport.sites.getVisitorAccess)
- [Documentation](https://lexicon.garden/lexicon/did:plc:ciygg5hma4q7ah2kxaszkyob/space.highport.sites.getVisitorAccess/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:ciygg5hma4q7ah2kxaszkyob/space.highport.sites.getVisitorAccess/examples)

## Definitions

### `space.highport.sites.getVisitorAccess`

**Type**: `query`

The requesting visitor's access to the site serving this request: whether its members-only pages admit them. Served only at /_bard/xrpc/ on a Highport site, from the visitor's site session; never by highport.space. Uncacheable.

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `member` | `boolean` | No | Whether the site's members-only pages admit the signed-in visitor: true when they were confirmed at sign-in as a member of the space the site is in now. Absent when no visitor is signed in, and absent on a site with no members-only pages, where membership is never checked. |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "The requesting visitor's access to the site serving this request: whether its members-only pages admit them. Served only at /_bard/xrpc/ on a Highport site, from the visitor's site session; never by highport.space. Uncacheable.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "member": {
              "description": "Whether the site's members-only pages admit the signed-in visitor: true when they were confirmed at sign-in as a member of the space the site is in now. Absent when no visitor is signed in, and absent on a site with no members-only pages, where membership is never checked.",
              "type": "boolean"
            }
          },
          "type": "object"
        }
      },
      "type": "query"
    }
  },
  "id": "space.highport.sites.getVisitorAccess",
  "lexicon": 1
}
```
