自訂的顯示名稱及的驗證方法描述Customize the display names and descriptions for authentication methods

適用於:Windows Server 2016、Windows Server 2012 R2Applies To: Windows Server 2016, Windows Server 2012 R2

若要自訂的顯示名稱及描述您可以使用的驗證方法Set-AdfsAuthenticationProviderWebContentPowerShell cmdlt。To customize the display names and descriptions for authentication methods you can use the Set-AdfsAuthenticationProviderWebContent PowerShell cmdlt. 以使用此 cmdlt,您必須先取得您想要自訂的驗證方法的名稱。In order to use this cmdlt, you must first obtain the name of the authentication method you wish to customize. 這可以使用Get-AdfsGlobalAuthenticationPolicyThis can be done using Get-AdfsGlobalAuthenticationPolicy. 我們看到以下範例,我們 sign\ 中在頁面上,以下顯示:「登入使用 x.509」。In the example below we see that, on our sign-in page, the following is displayed: “Sign in using an X.509 certificate”. 我們希望此簡化的使用者。We want to simplify this for our users.

自訂顯示名稱

讓第一次我們收到的驗證方法的名稱,然後我們編輯所顯示的文字。So first we get the name of the authentication method and then we edit the displayed text.

Get-AdfsGlobalAuthenticationPolicy  

AdditionalAuthenticationProvider  : {}  
DeviceAuthenticationEnabled   : False  
PrimaryIntranetAuthenticationProvider : {FormsAuthentication, CertificateAuthentication}  
PrimaryExtranetAuthenticationProvider : {FormsAuthentication, CertificateAuthentication}  
WindowsIntegratedFallbackEnabled  : True  

Set-AdfsAuthenticationProviderWebContent -Name CertificateAuthentication -DisplayName "Sign in with a certificate"  

自訂顯示名稱

現在我們看到已經我們顯示的訊息。Now we see that our display message has changed.

自訂顯示名稱

其他參考資料Additional references

AD FS 使用者登入自訂AD FS User Sign-in Customization