漏洞
漏洞 ID 编号 | BUG-000165814 |
---|---|
已提交 | March 8, 2024 |
上次修改时间 | February 10, 2025 |
适用范围 | ArcGIS API for Python |
找到的版本 | 2.2.0 |
操作系统 | N/A |
操作系统版本 | N/A |
状态 | In Review |
If the secondary license is expired or not in used by any users, reach out to Esri Support to request removing the license from the organization. If both licenses are needed/in use, modify the script to get and revoke multiple licenses that have the same name using a for loop.
Below is a sample code:
org_licenses=gis.admin.license.all()
D2M_licenses=[]
for l in org_licenses:
if "Drone" in l.properties.listing['title']:
D2M_licenses.append(l)
for license in D2M_licenses:
license.revoke(username="USERNAME", entitlements="*")
漏洞 ID: BUG-000165814
软件:
获取来自 ArcGIS 专家的帮助
下载 Esri 支持应用程序