本文简要介绍 python 语言中 arcgis.gis.ContentManager.unshare_items
的用法。
返回:
非共享
Item
对象的字典
unshare_items
方法取消与指定的组、每个人或组织列表共享一批项目。此方法与share_items
方法非常相似,后者实现了与unshare_items
完全相反的效果。注意:
每个项目的当前共享将被此方法覆盖。
Parameter
Description
items
必填清单。要修改共享的项目或项目 ID 列表。
everyone
必需的布尔值。如果提供,将更新共享属性的每个人。 True 表示它将与任何人共享这些项目。 False 表示该项目不会与所有用户共享。
org
必需的布尔值。真正的值意味着项目将与组织的所有成员共享。错误值表示该项目不会与所有组织用户共享。
groups
所需的字符串组名称列表、
Group
对象列表或组 ID 列表。例子:
# Usage Example >>> gis.content.share_items(items=[item1, item2, item3], everyone=True, org=True, groups = ["Developers", "Engineers", "GIS_Analysts"])
相关用法
- Python ArcGIS ContentManager.delete_folder用法及代码示例
- Python ArcGIS ContentManager.replace_service用法及代码示例
- Python ArcGIS ContentManager.advanced_search用法及代码示例
- Python ArcGIS ContentManager.can_delete用法及代码示例
- Python ArcGIS ContentManager.create_service用法及代码示例
- Python ArcGIS ContentManager.create_folder用法及代码示例
- Python ArcGIS ContentManager.share_items用法及代码示例
- Python ArcGIS ContentManager.rename_folder用法及代码示例
- Python ArcGIS ContentManager.clone_items用法及代码示例
- Python ArcGIS ContentManager.add用法及代码示例
- Python ArcGIS ContentManager.search用法及代码示例
- Python ArcGIS ContentManager.bulk_update用法及代码示例
- Python ArcGIS ContentManager.delete_items用法及代码示例
- Python ArcGIS ContentManager.generate用法及代码示例
- Python ArcGIS ContentManager.analyze用法及代码示例
- Python ArcGIS ContentManager.is_service_name_available用法及代码示例
- Python ArcGIS Country.enrich用法及代码示例
- Python ArcGIS Country.subgeographies用法及代码示例
- Python ArcGIS Country.enrich_variables用法及代码示例
- Python ArcGIS Country.travel_modes用法及代码示例
- Python ArcGIS CiscoEdgeIntelligence用法及代码示例
- Python ArcGIS CategoryManager.add用法及代码示例
- Python ArcGIS CreditManager用法及代码示例
- Python ArcGIS CategorySchemaManager.delete用法及代码示例
- Python ArcGIS CertificateManager.delete用法及代码示例
注:本文由纯净天空筛选整理自arcgis.com大神的英文原创作品 arcgis.gis.ContentManager.unshare_items。非经特殊声明,原始代码版权归原作者所有,本译文未经允许或授权,请勿转载或复制。