JGithubPackageOrgsMembers
class JGithubPackageOrgsMembers extends JGithubPackage
GitHub API Orgs Members class for the Joomla Platform.
Methods
Members list.
Check membership.
Remove a member.
Public members list.
Check public membership.
Publicize a user’s membership.
Conceal a user’s membership.
Details
boolean|mixed
getList(
string $org)
Members list.
List all users who are members of an organization. A member is a user that belongs to at least 1 team in the organization. If the authenticated user is also a member of this organization then both concealed and public members will be returned. If the requester is not a member of the organization the query will be redirected to the public members list.
boolean
check(
string $org,
string $user)
Check membership.
Check if a user is, publicly or privately, a member of the organization.
object
remove(
string $org,
string $user)
Remove a member.
Removing a user from this list will remove them from all teams and they will no longer have any access to the organization’s repositories.