Get-AzApiManagementUserSsoUrl
為用戶產生 SSO URL。
Syntax
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 物件。 此為必要參數。
Type: | PsApiManagementContext |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-DefaultProfile
用於與 azure 通訊的認證、帳戶、租用戶和訂用帳戶。
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-UserId
指定使用者識別碼。 此為必要參數。
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |