Get-AzDevCenterUserProjectAbility
プロジェクトでサインインしているユーザーの許可された機能を取得します。
構文
Get (既定)
Get-AzDevCenterUserProjectAbility
-Endpoint <String>
-ProjectName <String>
[-UserId <String>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
GetViaIdentity
Get-AzDevCenterUserProjectAbility
-Endpoint <String>
-InputObject <IDevCenterdataIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
GetByDevCenter
Get-AzDevCenterUserProjectAbility
-DevCenterName <String>
-ProjectName <String>
[-UserId <String>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
GetViaIdentityByDevCenter
Get-AzDevCenterUserProjectAbility
-DevCenterName <String>
-InputObject <IDevCenterdataIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
説明
プロジェクトでサインインしているユーザーの許可された機能を取得します。
例
例 1: エンドポイント別にプロジェクトに対するサインインしているユーザーの機能を取得する
Get-AzDevCenterUserProjectAbility `
-Endpoint "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/" `
-ProjectName "DevProject"
このコマンドは、エンドポイントを使用して、プロジェクト "DevProject" でサインインしているユーザーに許可されている機能を取得します。
例 2: デベロッパー センター名でプロジェクトに対する特定のユーザーの能力を取得する
Get-AzDevCenterUserProjectAbility `
-DevCenterName "ContosoDevCenter" `
-ProjectName "DevProject" `
-UserId "00aa00aa-bb11-cc22-dd33-44ee44ee44ee"
このコマンドは、デベロッパー センター名を使用して、プロジェクト "DevProject" のユーザー "00aa00aa-bb11-cc22-dd33-44ee44ee44ee" に対して許可される機能を取得します。
$projectInput = @{
ProjectName = "DevProject"
}
Get-AzDevCenterUserProjectAbility `
-Endpoint "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/" `
-InputObject $projectInput
このコマンドは、エンドポイントと ID オブジェクトを使用して、プロジェクト "DevProject" でサインインしているユーザーに許可されている機能を取得します。
$projectInput = @{
ProjectName = "DevProject"
}
Get-AzDevCenterUserProjectAbility `
-DevCenterName "ContosoDevCenter" `
-InputObject $projectInput
このコマンドは、デベロッパー センター名と ID オブジェクトを使用して、プロジェクト "DevProject" でサインインしているユーザーに許可される機能を取得します。
パラメーター
-DefaultProfile
DefaultProfile パラメーターは機能しません。
別のサブスクリプションに対してコマンドレットを実行する場合は、使用可能な場合は SubscriptionId パラメーターを使用します。
パラメーターのプロパティ
| 型: | PSObject
|
| 規定値: | None |
| ワイルドカードのサポート: | False |
| DontShow: | False |
| Aliases: | AzureRMContext, AzureCredential |
パラメーター セット
(All)
| 配置: | Named |
| 必須: | False |
| パイプラインからの値: | False |
| プロパティ名別のパイプラインからの値: | False |
| 残りの引数からの値: | False |
-DevCenterName
操作を実行する DevCenter。
パラメーターのプロパティ
| 型: | String
|
| 規定値: | None |
| ワイルドカードのサポート: | False |
| DontShow: | False |
| Aliases: | DevCenter |
パラメーター セット
GetByDevCenter
| 配置: | Named |
| 必須: | True |
| パイプラインからの値: | False |
| プロパティ名別のパイプラインからの値: | False |
| 残りの引数からの値: | False |
GetViaIdentityByDevCenter
| 配置: | Named |
| 必須: | True |
| パイプラインからの値: | False |
| プロパティ名別のパイプラインからの値: | False |
| 残りの引数からの値: | False |
-Endpoint
操作する DevCenter 固有の URI。
パラメーターのプロパティ
| 型: | String
|
| 規定値: | None |
| ワイルドカードのサポート: | False |
| DontShow: | False |
パラメーター セット
Get
| 配置: | Named |
| 必須: | True |
| パイプラインからの値: | False |
| プロパティ名別のパイプラインからの値: | False |
| 残りの引数からの値: | False |
GetViaIdentity
| 配置: | Named |
| 必須: | True |
| パイプラインからの値: | False |
| プロパティ名別のパイプラインからの値: | False |
| 残りの引数からの値: | False |
ID パラメーターを構築するには、INPUTOBJECT プロパティの NOTES セクションを参照し、ハッシュ テーブルを作成します。
GetViaIdentity
| 配置: | Named |
| 必須: | True |
| パイプラインからの値: | True |
| プロパティ名別のパイプラインからの値: | False |
| 残りの引数からの値: | False |
GetViaIdentityByDevCenter
| 配置: | Named |
| 必須: | True |
| パイプラインからの値: | True |
| プロパティ名別のパイプラインからの値: | False |
| 残りの引数からの値: | False |
-ProjectName
DevCenter Project操作を実行します。
パラメーターのプロパティ
| 型: | String
|
| 規定値: | None |
| ワイルドカードのサポート: | False |
| DontShow: | False |
パラメーター セット
Get
| 配置: | Named |
| 必須: | True |
| パイプラインからの値: | False |
| プロパティ名別のパイプラインからの値: | False |
| 残りの引数からの値: | False |
GetByDevCenter
| 配置: | Named |
| 必須: | True |
| パイプラインからの値: | False |
| プロパティ名別のパイプラインからの値: | False |
| 残りの引数からの値: | False |
-UserId
ユーザーの AAD オブジェクト ID。
値が "me" の場合、ID は認証コンテキストから取得されます。
パラメーターのプロパティ
| 型: | String
|
| 規定値: | me |
| ワイルドカードのサポート: | False |
| DontShow: | False |
パラメーター セット
Get
| 配置: | Named |
| 必須: | False |
| パイプラインからの値: | False |
| プロパティ名別のパイプラインからの値: | False |
| 残りの引数からの値: | False |
GetByDevCenter
| 配置: | Named |
| 必須: | False |
| パイプラインからの値: | False |
| プロパティ名別のパイプラインからの値: | False |
| 残りの引数からの値: | False |
CommonParameters
このコマンドレットは、共通パラメーター -Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction、-WarningVariable をサポートします。 詳細については、about_CommonParametersを参照してください。
出力