> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.credal.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.credal.com/_mcp/server.

# OrganizationMembership

GraphQL object

A user's membership in an organization.

Reference: https://docs.credal.com/api-reference/types/objects/organization-membership

## Fields

- `organization` — The organization the user is a member of.
- `user` — The member. It's an error when the user can't be read, for example a member who was added to the organization but has never signed in to Credal.
- `role` — The role assigned directly to this member, or null when they have none. This is not necessarily the member's only role, because roles can also come from the member's groups. A member with no role from any source has the organization's default member role.

## Definition

```graphql
type OrganizationMembership {
  organization: OrganizationOrError!
  user: UserOrError!
  role: RoleOrError
}
```