github_membership

Use this data source to find out if a user is a member of your organization, as well as what role they have within it. If the user's membership in the organization is pending their acceptance of an invite, the role they would have once they accept will be returned.

Example Usage

data "github_membership" "membership_for_some_user" {
    username = "SomeUser"
}

Argument Reference

Attributes Reference