Tableau Server Client (TSC)
中auth.switch_site
的用法。
用法
auth.switch_site(site_id)
切换到当前 Tableau Server 上的其他站点。
切换避免了重新验证到同一服务器的需要。 (注意:此方法在 Tableau Online 中不可用。)
REST API:Switch Site
参数
site_item |
您要切换到的站点。这应该是从 sites.get() 、 sites.get_by_id() 或 sites.get_by_name{} 检索到的 SiteItem 。 |
示例
# find and then switch auth to another site on the same server
site = server.sites.get_by_id('9a8b7c6d-5e4f-3a2b-1c0d-9e8f7a6b5c4d')
server.auth.switch_site(site)
相关用法
- Python Tableau auth.sign_in用法及代码示例
- Python Tableau auth.sign_out用法及代码示例
- Python arcgis.gis._impl._profile.ProfileManager.save_as用法及代码示例
- Python arcgis.raster.functions.ccdc_analysis用法及代码示例
- Python arcgis.geometry.functions.trim_extend用法及代码示例
- Python arcgis.raster.analytics.sample用法及代码示例
- Python arcgis.features.analysis.derive_new_locations用法及代码示例
- Python arcgis.features.analyze_patterns.calculate_density用法及代码示例
- Python arcgis.geometry.Geometry.label_point用法及代码示例
- Python ast.MatchClass用法及代码示例
- Python arcgis.plan_routes用法及代码示例
- Python arcgis.mapping.forms.FormInfo用法及代码示例
- Python arcgis.gis.UserManager.get用法及代码示例
- Python arcgis.raster.ImageryLayerCacheManager.update_tiles用法及代码示例
- Python arcgis.geometry.Geometry.true_centroid用法及代码示例
- Python arcgis.gis.User.generate_direct_access_url用法及代码示例
- Python arcgis.gis.GroupMigrationManager.create用法及代码示例
- Python arcgis.geometry.Geometry.hull_rectangle用法及代码示例
- Python arcgis.features.analysis.summarize_within用法及代码示例
- Python arcgis.geometry.filters.intersects用法及代码示例
- Python arcgis.geometry.functions.project用法及代码示例
- Python abc.ABCMeta用法及代码示例
- Python arcgis.raster.functions.percentile用法及代码示例
- Python arcgis.raster.ImageryLayer.save用法及代码示例
- Python arcgis.geoanalytics.summarize_data.reconstruct_tracks用法及代码示例
注:本文由纯净天空筛选整理自tableau.github.io大神的英文原创作品 auth.switch_site。非经特殊声明,原始代码版权归原作者所有,本译文未经允许或授权,请勿转载或复制。