PermissionsConfig for a remote tag provider

I have a central gateway with several remote tag providers, all coming from Ignition Edge instances.

In the Ignition Edge gateway settings, I configured permissions to read tags at that gateway.

How can I, through the Java SDK presumably, access those Tag Read Permissions?

I assume it will return a PermissionsConfig object of some sort, but i'm really just looking for a way to "disable" a button in Perspective if the current user doesn't belong to that set of permissions specifically.

My alternative workaround is to use the .CanRead property on a random tag in the tag provider, but that could potentially have additional Read Permissions set, outside of the ones at the tag provider itself.


Have you looked at this document page? This system function can be used to return a user's role(s).