你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IWithRole 接口

定义

允许指定角色的角色分配定义的阶段。

public interface IWithRole
type IWithRole = interface
Public Interface IWithRole
派生

方法

WithBuiltInRole(BuiltInRole)

指定此分配的内置角色的名称。

WithRoleDefinition(String)

指定此分配的自定义角色的 ID。

适用于