操作方法
自 2016 年 7 月起,所有拥有启用 Esri 功能的 ArcGIS Online 组织账户的用户都可以访问自定进程式在线课程。 为了允许成员访问这些课程,组织管理员可能需要为所有用户启用 Esri 访问权限。
可以在“组织”页面,为组织内的每个用户单独启用 Esri 访问权限。 在成员选项卡的成员列表中,单击用户名旁边的更多选项按钮
。
此外,还可以通过编程方式(使用 ArcGIS API for Python)在界面之外进行批量启用。 以下提供了一个示例脚本。
要运行该脚本,您必须以管理员身份或具有为组织成员启用 Esri 访问权限的自定义角色用户身份登录您的组织。
#import system modules from arcgis.gis import GIS
#sign into ArcGIS Online organization portal="https://SHORTNAME.maps.arcgis.com/"
username = "USERNAME"
password = "PASSWORD"
gis = GIS(portal, username, password)
#get a list of org users org_users = gis.users.search(None, max_users=1000)
#enable Esri access for all org users for org_user in org_users: user.esri_access= True print ("Esri access was enabled for all organization members!")
Note: As these are script samples, Esri Support does not debug specific scenarios of the script failing or assist in customizing it further.
文章 ID: 000014653
获取来自 ArcGIS 专家的帮助
立即开始聊天