Set-AdfsRelyingPartyWebContent

Set-AdfsRelyingPartyWebContent

Sets properties for the relying party web content objects.

구문

Parameter Set: IdentifierName
Set-AdfsRelyingPartyWebContent [[-Locale] <CultureInfo> ] -Name <String> [-ErrorPageAuthorizationErrorMessage <String> ] [-ErrorPageDeviceAuthenticationErrorMessage <String> ] [-ErrorPageGenericErrorMessage <String> ] [-PassThru] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: IdentifierObject
Set-AdfsRelyingPartyWebContent [-TargetWebContent] <AdfsRelyingPartyWebContent> [-ErrorPageAuthorizationErrorMessage <String> ] [-ErrorPageDeviceAuthenticationErrorMessage <String> ] [-ErrorPageGenericErrorMessage <String> ] [-PassThru] [-Confirm] [-WhatIf] [ <CommonParameters>]

자세한 설명

The Set-AdfsRelyingPartyWebContent cmdlet sets properties for a relying party web content object. These properties override equivalent values set by using the Set-AdfsGlobalWebContent cmdlet to obtain a web content object. Specify a relying party web content object by using a name and locale, or use the Get-AdfsRelyingPartyWebContent cmdlet. If you do not specify a locale, the cmdlet uses the invariant locale.

매개 변수

-ErrorPageAuthorizationErrorMessage<String>

Specifies an error message to display when a user encounters any authorization errors that occur for a token request. This string can be an HTML fragment.

별칭

없음

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-ErrorPageDeviceAuthenticationErrorMessage<String>

Specifies an error message to display for any device authentication errors that occur for a token request. Device authentication errors occur when the user presents an expired user@device certificate to AD FS(Active Directory Federation Services), a certificate that is not found in Active Directory® 도메인 서비스, or a certificate that is disabled in Active Directory 도메인 서비스. This string can be an HTML fragment.

별칭

없음

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-ErrorPageGenericErrorMessage<String>

Specifies an error message to display for any generic errors that occur for a token request. This string can be an HTML fragment.

별칭

없음

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-Locale<CultureInfo>

Specifies a locale. The cmdlet sets relying party web content for the locale that you specify.

별칭

없음

필수 여부

false

위치

1

기본값

없음

파이프라인 입력 적용 여부

True (ByPropertyName)

와일드카드 문자 허용 여부

false

-Name<String>

Specifies a name. The cmdlet modifies content for the relying party that you specify by name.

별칭

없음

필수 여부

true

위치

named

기본값

없음

파이프라인 입력 적용 여부

True (ByPropertyName)

와일드카드 문자 허용 여부

false

-PassThru

작업하고 있는 항목을 나타내는 개체를 반환합니다. 기본적으로 이 cmdlet은 출력을 생성하지 않습니다.

별칭

없음

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-TargetWebContent<AdfsRelyingPartyWebContent>

Specifies a relying party web content object. The cmdlet modifies content for the object that you specify. To obtain a relying party web content object, use Get-AdfsRelyingPartyWebContent.

별칭

없음

필수 여부

true

위치

1

기본값

없음

파이프라인 입력 적용 여부

True (ByValue)

와일드카드 문자 허용 여부

false

-Confirm

cmdlet을 실행하기 전에 확인 메시지가 표시됩니다.

필수 여부

false

위치

named

기본값

false

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-WhatIf

cmdlet이 실행될 경우 결과 동작을 표시합니다. cmdlet이 실행되지 않습니다.

필수 여부

false

위치

named

기본값

false

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

<CommonParameters>

이 cmdlet은 일반 매개 변수 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer 및 -OutVariable을 지원합니다. 자세한 내용은 다음을 참조하세요. about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216).

입력

입력 유형은 cmdlet에 파이프할 수 있는 개체의 유형입니다.

출력

출력 유형은 cmdlet이 내보내는 개체의 유형입니다.

  • System.IdentityServer.Management.Resources.AdfsRelyingPartyWebContent

    This cmdlet generates a System.IdentityServer.Management.Resources.AdfsRelyingPartyWebContent object that represents web content of a relying party, or an array of such objects. The object includes the following properties:

    Locale: System.Globalization.CultureInfo
    Name: System.String
    ErrorPageGenericErrorMessage: System.String
    ErrorPageAuthorizationErrorMessage: System.String
    ErrorPageDeviceAuthenticationErrorMessage: System.String

예제

Example 1: Specify a generic error message

This command specifies a generic error message to display to users for the relying party named RelyingParty01.

PS C:\> Set-AdfsRelyingPartyWebContent -Name "RelyingParty01" -ErrorPageGenericErrorMessage "There is an error."

Example 2: Specify multiple error messages

This command assigns multiple error messages to display to users for the relying party named RelyingParty01 with the specified locale.

PS C:\> Set-AdfsRelyingPartyWebContent -Locale en-us -Name "RelyingParty02"  -ErrorPageAuthorizationErrorMessage "There is an authorization error." -ErrorPageDeviceAuthenticationErrorMessage "There is a device authentication error." -ErrorPageGenericErrorMessage "There is an error."

관련 항목

Get-AdfsRelyingPartyWebContent

Remove-AdfsRelyingPartyWebContent