Share via


SetExtendedProtectionSettings Method (WMI MSReportServer_ConfigurationSetting)

The SetExtendedProtectionSettings method is used to set the RSWindowsExtendedProtectionLevel and the RSWindowsExtendedProtectionScenario properties in the Reporting Services configuration file RSReportServer.config.

Syntax

Public Sub SetExtendedProtectionSettings( _  
        ByVal ExtendedProtectionLevel As String, _  
        ByVal ExtendedProtectionScenario As String, _  
        ByRef Warnings() As String, _  
        ByRef Length As Int32, _  
        ByRef HRESULT As Int32)  
public void SetExtendedProtectionSettings(  
            string ExtendedProtectionLevel,  
            string ExtendedProtectionScenario,  
            out string[] Warnings,  
            out Int32 Length,  
            out Int32 HRESULT);  

Parameters

ExtendedProtectionLevel
Sets the RSWindowsExtendedProtectionLevel in the RSRreportserver.config file. The required value is not case sensitive.

The following list shows valid values:

"Off | Allow | Require"

ExtendedProtectionScenario
Sets the RSWindowsExtendedProtectionScenario in the RSReportserver.config file. The required value is not case sensitive.

The following list shows valid values:

"Any" | "Proxy" | "Direct"

Remarks

The RSWindowsExtendedProtectionLevel and the RSWindowsExtendedProtectionScenario properties apply when the AuthenticationTypes in the RSReportServer.config file include RSWindowNTLM, RSWindowsNegotiate, or RSWindowsKerberos. Setting these properties affects how users and client software authenticate with a report server. It is recommended that you read the documentation for extended protection before setting ExtendedProtectionLevel to either Allow or Require.

To set the ExtendedProtectionLevel, the user must be a member of the BUILTIN\Administrators group on the report server.

Requirements

Namespace: root\Microsoft\SqlServer\ReportServer\<InstanceName>\v12\Admin

See Also

RSWindowsExtendedProtectionScenario Property (WMI MSReportServer_ConfigurationSetting)
RSWindowsExtendedProtectionLevel Property (WMI MSReportServer_ConfigurationSetting)
Extended Protection for Authentication with Reporting Services
RSReportServer Configuration File