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 <j...@juniper.net>
To: "openstack-dev@lists.openstack.org" <openstack-dev@lists.openstack.org>
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: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
__________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev