How to check operationalLayer access?

487
2
05-07-2019 06:40 AM
AndrewHayden1
Occasional Contributor

In chrome dev tools I can see who I am logged in as and the message "You do not have access..." when I look at operationalLayers[0].errors.  Is there an easy way to check for access of the layer besides interpreting the error?

0 Kudos
2 Replies
deleted-user--MMnVrog9xw_
Occasional Contributor

Are you using IdentityManager to authenticate? It has methods to handle this. 

0 Kudos
AndrewHayden1
Occasional Contributor

No, I'm using 3.25.

0 Kudos