Interface IAuthenticationExtension

Represents an authentication extension in SQL Server Reporting Services.

Espace de noms :  Microsoft.ReportingServices.Interfaces
Assemblys :   Microsoft.ReportingServices.SharePoint.UI.WebParts (en Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)
  Microsoft.ReportingServices.Interfaces (en Microsoft.ReportingServices.Interfaces.dll)

Syntaxe

'Déclaration
Public Interface IAuthenticationExtension _
    Inherits IExtension
'Utilisation
Dim instance As IAuthenticationExtension
public interface IAuthenticationExtension : IExtension
public interface class IAuthenticationExtension : IExtension
type IAuthenticationExtension =  
    interface
        interface IExtension
    end
public interface IAuthenticationExtension extends IExtension

Le type IAuthenticationExtension expose les membres suivants.

Propriétés

  Nom Description
Propriété publique LocalizedName Gets the localized name of the extension to be displayed in a user interface. (hérité de IExtension.)

Haut de la page

Méthodes

  Nom Description
Méthode publique GetUserInfo Returns the current user identity.
Méthode publique IsValidPrincipalName Indicates whether the specified principal name is valid.
Méthode publique LogonUser Creates a logon session for the user associated with the given credentials.
Méthode publique SetConfiguration Used to pass custom configuration data to an extension. (hérité de IExtension.)

Haut de la page

Notes

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.