data source properties sde raster vs vector

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

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

0 Kudos
5 Replies
DanPatterson_Retired
MVP Emeritus

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.

0 Kudos
forestknutsen1
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?

DanPatterson_Retired
MVP Emeritus

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

forestknutsen1
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.

DanPatterson_Retired
MVP Emeritus

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

0 Kudos