orchestrator
2025.10
false
- 入门指南
- 身份验证
- Swagger 定义
- Orchestrator API
- 平台管理 API

Orchestrator API 指南
上次更新日期 2025年10月27日
以下请求使您能够显示当前对其进行身份验证的用户的所有权限。 请注意,系统只会返回您被授予的权限。
您可以使用 
         
         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
        }
    ]
}