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
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.