> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List Organizations Of A User

List [public organization memberships](https://docs.github.com/articles/publicizing-or-concealing-organization-membership) for the specified user.

This method only lists *public* memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the [List organizations for the authenticated user](https://docs.github.com/rest/reference/orgs#list-organizations-for-the-authenticated-user) API instead.

<Note>
  External Documentation

  To learn more, visit the [GitHub documentation](https://docs.github.com/rest/reference/orgs#list-organizations-for-a-user).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter        | Description                                         |
  | ---------------- | --------------------------------------------------- |
  | Page             | Page number of the results to fetch.                |
  | Per Page         | The number of results per page (max 100).           |
  | Return All Pages | Automatically fetch all resources, page by page.    |
  | Username         | The username of the user to list organizations for. |
</div>

## Example Output

```json theme={"dark"}
{
	"value": [
		{
			"avatar_url": "https://github.com/images/error/octocat_happy.gif",
			"description": "A great organization",
			"events_url": "https://api.github.com/orgs/github/events",
			"hooks_url": "https://api.github.com/orgs/github/hooks",
			"id": 1,
			"issues_url": "https://api.github.com/orgs/github/issues",
			"login": "github",
			"members_url": "https://api.github.com/orgs/github/members{/member}",
			"node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
			"public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
			"repos_url": "https://api.github.com/orgs/github/repos",
			"url": "https://api.github.com/orgs/github"
		}
	]
}
```

## Workflow Library Example

[List Organizations of a User with Github and Send Results Via Email](https://library.blinkops.com/workflows/list-organizations-of-a-user-with-github-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/list-organizations-of-a-user-with-github-and-send-results-via-email/canvas" />
</div>
