LockButton.getPermission

Obtains the #GPermission object that controls button.

Returns

the #GPermission of button