Compartilhar via


Interface IAuthenticationExtension

Represents an authentication extension in SQL Server Reporting Services.

Namespace:  Microsoft.ReportingServices.Interfaces
Assemblies:   Microsoft.ReportingServices.Interfaces (em Microsoft.ReportingServices.Interfaces.dll)
  Microsoft.ReportingServices.SharePoint.UI.WebParts (em Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)

Sintaxe

'Declaração
Public Interface IAuthenticationExtension _
    Inherits IExtension
'Uso
Dim instance As IAuthenticationExtension
public interface IAuthenticationExtension : IExtension
public interface class IAuthenticationExtension : IExtension
type IAuthenticationExtension =  
    interface 
        interface IExtension 
    end
public interface IAuthenticationExtension extends IExtension

O tipo IAuthenticationExtension expõe os membros a seguir.

Propriedades

  Nome Descrição
Propriedade pública LocalizedName Gets the localized name of the extension to be displayed in a user interface. (Herdado de IExtension.)

Início

Métodos

  Nome Descrição
Método público GetUserInfo Returns the current user identity.
Método público IsValidPrincipalName Indicates whether the specified principal name is valid.
Método público LogonUser Creates a logon session for the user associated with the given credentials.
Método público SetConfiguration Used to pass custom configuration data to an extension. (Herdado de IExtension.)

Início

Comentários

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.

Consulte também

Referência

Namespace Microsoft.ReportingServices.Interfaces