MCPcopy Index your code
hub / github.com/github-tools/github / listMembers

Method listMembers

lib/Team.js:74–77  ·  view source on GitHub ↗

* List the users who are members of the Team * @see https://developer.github.com/v3/orgs/teams/#list-team-members * @param {object} options - Parameters for listing team users * @param {string} [options.role=all] - can be one of: `all`, `maintainer`, or `member` * @param {Requestable

(options, cb)

Source from the content-addressed store, hash-verified

72 * @return {Promise} - the promise for the http request
73 */
74 listMembers(options, cb) {
75 log(`Getting members of Team ${this.__teamId}`);
76 return this._requestAllPages(`/teams/${this.__teamId}/members`, options, cb);
77 }
78
79 /**
80 * Get Team membership status for a user

Callers 2

team.spec.jsFile · 0.45

Calls 1

_requestAllPagesMethod · 0.80

Tested by

no test coverage detected