import arcpy sde = r"sde_instance_path.sde" arcpy.env.workspace = sde fc_List = arcpy.ListFeatureClasses("some_filter") fc_List.sort() for fc in fc_List: try: print "Granting privileges to " + fc arcpy.ChangePrivileges_management(fc, "# group/user to grant priv", "GRANT") except: print "Passing " + fc pass
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.