Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/kd_clients/GitHubClients/OrgClient.ts>OrgClient#userIsOrgMember

Various HTTP clients for miscellaneous use.
Go to Latest
method OrgClient.prototype.userIsOrgMember
import { OrgClient } from "https://deno.land/x/kd_clients@v1.0.0-preview.12/GitHubClients/OrgClient.ts";

Gets a value indicating whether or not a user with a name that matches the given username, is a member of an organization with a name that matches the OrgClient.ownerName.

Parameters

username: string

The username of the user that might exist in the organization.

Returns

Promise<boolean>

True if the user is a member of the organization, false otherwise.