Remove-DataGatewayClusterDatasourceUser

从指定网关群集的指定 Power BI 数据源中删除指定用户

语法

Default (默认值)

Remove-DataGatewayClusterDatasourceUser
    -GatewayClusterId <Guid>
    -GatewayClusterDatasourceId <Guid>
    -UserId <String>
    [<CommonParameters>]

说明

从指定网关群集的指定 Power BI 数据源中删除指定用户

示例

示例 1

PS C:\> Remove-DataGatewayClusterDatasourceUser -GatewayClusterId DC8F2C49-5731-4B27-966B-3DB5094C2E77 -GatewayClusterDatasourceId 64C574B7-86C6-4560-B710-40AC18990804 -UserId testEmail@tenant.com

删除数据源的“testUpn@tenant.com”访问权限。

参数

-GatewayClusterDatasourceId

需要删除用户的数据源。

参数属性

类型:Guid
默认值:None
支持通配符:False
不显示:False
别名:数据源ID (DatasourceId), Datasource

参数集

(All)
Position:Named
必需:True
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-GatewayClusterId

特定数据源所在的网关群集

参数属性

类型:Guid
默认值:None
支持通配符:False
不显示:False
别名:集群, Id

参数集

(All)
Position:Named
必需:True
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-UserId

要删除的用户。 这应该是 PrincipalObjectId (GUID 类型)或匹配来自 Get-DataGatewayClusterDatasourceUser 的 Identifier/UserEmailAddress 值

参数属性

类型:String
默认值:None
支持通配符:False
不显示:False
别名:用户电子邮件地址, 电子邮件地址, PrincipalObjectId, 用户

参数集

(All)
Position:Named
必需:True
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

CommonParameters

此 cmdlet 支持通用参数:-Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction 和 -WarningVariable。 有关详细信息,请参阅 about_CommonParameters

输入

None

输出

System.Void