def METHOD_NAME(self, organization_slug: OrganizationSlug):
    """Gets the user's role for a given organization slug."""
    for o in self.organizations:
        if o.organization.slug == organization_slug:
            return o.role