Layou Name

Hi

I have a program that is part of 2 different layouts ie a panel on 2 layouts
how would I get the layout name?

There is a global relation pointing to the current layout record: _to_nav_layout

Thank you