Hi Jason,
You should have access to it already. Just import from horizon the code you need. What you're looking for resides in the (request.user) object. Here are some usage examples, https://github.com/openstack/horizon/blob/master/openstack_dashboard/templatetags/context_selection.py
----- Original message -----
From: Jason Pascucci <[email protected]>
To: "[email protected]" <[email protected]>
Cc:
Subject: [openstack-dev] [horizon] [horizon-plugin]
Date: Wed, Aug 24, 2016 12:05 PM
Hi,What is the best method of obtaining the (name preferred) selected project (tenant) from the UI to pass to a plugin?-JRP__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: [email protected]?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
__________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: [email protected]?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
