data source properties sde raster vs vector

2517
5
05-13-2016 02:15 PM
MVP Regular Contributor

Why does the raster data source properties not show me me the authentication method?

Reply
0 Kudos
5 Replies
MVP Esteemed Contributor

serviceProperties in Layer—Help | ArcGIS for Desktop has all kinds of cryptic stuff relating to sde... if it makes any sense to you, then that may be where your answer lies.

Reply
0 Kudos
MVP Regular Contributor

Thanks for the link Dan. I did look around in this location this morning.

Layer—Help | ArcGIS for Desktop

Which is all good. I imagine that I could ask it with arcpy... But what I want to know is why does ArcCatalog not report this back to the end user?

MVP Esteemed Contributor

interesting... you should run a quick arcpy test to see what it reports if anything at all

MVP Regular Contributor

Sure

servProp = layer.serviceProperties

print "Authentication: " + servProp.get('AuthenticationMode', 'N/A')

Output: "Authentication: OSA"

So, that part does work. I also revoked permissions for the Oracle OSA reader role and the layer does in fact stop working, as one would hope. The behavior looks right.

MVP Esteemed Contributor

you should send in a request as to why, perhaps, most don't care, but at least you have the workaround

Reply
0 Kudos