Hi All !
My flash launcher is now getting a very good context with all information i need. The last info i want to retrieve from Shotgun is the shotgun login of the user.
what is the method i need to return that info.
Thank's.
Hi All !
My flash launcher is now getting a very good context with all information i need. The last info i want to retrieve from Shotgun is the shotgun login of the user.
what is the method i need to return that info.
Thank's.
Hey there Pierre!
The method that toolkit currently uses for this is called sgtk.util.get_current_user()
- you can read more about it in our reference documentation!
Alternatively, you can also access this information on the context
object itself - there is a user
property which is populated with the current Shotgun user if this is known by the system. You can read more about the context.user
property here.
Hope this helps!