Get-AzApiManagementUserSsoUrl
為用戶產生 SSO URL。
語法
Get-AzApiManagementUserSsoUrl
-Context <PsApiManagementContext>
-UserId <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Get-AzApiManagementUserSsoUrl Cmdlet 會為用戶產生單一登錄 (SSO) URL。
範例
範例 1:取得使用者的 SSO URL
$apimContext = New-AzApiManagementContext -ResourceGroupName "Api-Default-WestUS" -ServiceName "contoso"
Get-AzApiManagementUserSsoUrl -Context $apimContext -UserId "0123456789"
此命令會取得使用者的 SSO URL。
參數
-Context
指定 PsApiManagementContext 物件。 這是必要參數。
類型: | PsApiManagementContext |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | False |
-DefaultProfile
用於與 azure 通訊的認證、帳戶、租用戶和訂用帳戶。
類型: | IAzureContextContainer |
別名: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-UserId
指定使用者識別碼。 這是必要參數。
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | False |