Ask Your Question

Revision history [back]

Assigning a role to a project via python sdk

Hi, I'm just getting started with the Python-SDK and I was wondering how you would assign a role to a user via the Openstack Python SDK

https://developer.openstack.org/sdks/python/openstacksdk/users/resources/identity/v3/project.html#openstack.identity.v3.project.Project I found with the link above, in the Project class, there should be an "assign_role_to_user" method defined but I am running into some difficulties accessing the method. When I call dir(project.Project), I don't see any of the methods as documented in the link above.