Method: Fog::Identity::OpenStack::Tenant#grant_user_role

Defined in:
lib/fog/openstack/models/identity/tenant.rb

#grant_user_role(user_id, role_id) ⇒ Object



52
53
54
# File 'lib/fog/openstack/models/identity/tenant.rb', line 52

def grant_user_role(user_id, role_id)
  service.add_user_to_tenant(self.id, user_id, role_id)
end