orchestrator
2023.4
false
- 入门指南
- 身份验证
- Swagger 定义
- Orchestrator API
- 平台管理 API
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。
新发布内容的本地化可能需要 1-2 周的时间才能完成。

Orchestrator API 指南
上次更新日期 2025年2月13日
以下请求使您能够显示当前对其进行身份验证的用户的所有权限。 请注意,系统只会返回您被授予的权限。
您可以使用 
         
         web.config 文件中的 Auth.DisabledPermissions 参数完全禁用用户界面和 API 中的权限。
         获取
https://{yourDomain}/odata/Permissions
{
    "@odata.context": "https://{yourDomain}/odata/$metadata#Permissions",
    "@odata.count": 3,
    "value": [{
            "Name": "Machines",
            "IsGranted": true,
            "RoleId": 8
        },
        {
            "Name": "License",
            "IsGranted": true,
            "RoleId": 8
        },
        {
            "Name": "Settings",
            "IsGranted": true,
            "RoleId": 8
        }
    ]
}{
    "@odata.context": "https://{yourDomain}/odata/$metadata#Permissions",
    "@odata.count": 3,
    "value": [{
            "Name": "Machines",
            "IsGranted": true,
            "RoleId": 8
        },
        {
            "Name": "License",
            "IsGranted": true,
            "RoleId": 8
        },
        {
            "Name": "Settings",
            "IsGranted": true,
            "RoleId": 8
        }
    ]
}