共用方式為


IAuthenticationExtension 介面

Represents an authentication extension in SQL Server Reporting Services.

命名空間:  Microsoft.ReportingServices.Interfaces
組件:   Microsoft.ReportingServices.Interfaces (在 Microsoft.ReportingServices.Interfaces.dll 中)
  Microsoft.ReportingServices.SharePoint.UI.WebParts (在 Microsoft.ReportingServices.SharePoint.UI.WebParts.dll 中)

語法

'宣告
Public Interface IAuthenticationExtension _
    Inherits IExtension
'用途
Dim instance As IAuthenticationExtension
public interface IAuthenticationExtension : IExtension
public interface class IAuthenticationExtension : IExtension
type IAuthenticationExtension =  
    interface
        interface IExtension
    end
public interface IAuthenticationExtension extends IExtension

備註

The IAuthenticationExtension interface in Reporting Services enables your security extension to specify a custom way for the report server to authenticate users. To create an authentication extension class, implement IAuthenticationExtension.

Your authentication extension should provide implementations for the LogonUser, GetUserInfo, and IsValidPrincipalName methods. Implementing IAuthenticationExtension enables your security extension to validate user credentials against a specified authority and enables the report server to access user information.

The primary way in which you can implement a custom authentication extension is through the use of Forms authentication. For more information, see "Forms Authentication Provider" in your .NET Framework Developer's Guide.