다음을 통해 공유


IAuthorizationExtension 인터페이스

Represents an extension that can be used to extend the authorization feature of SQL Server Reporting Services.

이 API는 CLS 규격이 아닙니다. 

네임스페이스:  Microsoft.ReportingServices.Interfaces
어셈블리:   Microsoft.ReportingServices.SharePoint.UI.WebParts(Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)
  Microsoft.ReportingServices.Interfaces(Microsoft.ReportingServices.Interfaces.dll)

구문

‘선언
<CLSCompliantAttribute(False)> _
Public Interface IAuthorizationExtension _
    Inherits IExtension
‘사용 방법
Dim instance As IAuthorizationExtension
[CLSCompliantAttribute(false)]
public interface IAuthorizationExtension : IExtension
[CLSCompliantAttribute(false)]
public interface class IAuthorizationExtension : IExtension
[<CLSCompliantAttribute(false)>]
type IAuthorizationExtension =  
    interface
        interface IExtension
    end
public interface IAuthorizationExtension extends IExtension

IAuthorizationExtension 유형에서 다음 멤버를 표시합니다.

속성

  이름 설명
공용 속성 LocalizedName Gets the localized name of the extension to be displayed in a user interface. (IExtension에서 상속됨)

맨 위로 이동

메서드

  이름 설명
공용 메서드 CheckAccess(String, IntPtr, array<Byte> [] () [] [], CatalogOperation) Indicates whether a user is authorized to access an item in the report server database for a given catalog operation.
공용 메서드 CheckAccess(String, IntPtr, array<Byte> [] () [] [], array<CatalogOperation> [] () [] []) Indicates whether a user is authorized to access an item in the report server database for a given array of catalog operation.
공용 메서드 CheckAccess(String, IntPtr, array<Byte> [] () [] [], DatasourceOperation) Indicates whether a user is authorized to access an item in the report server database for a given data source operation.
공용 메서드 CheckAccess(String, IntPtr, array<Byte> [] () [] [], FolderOperation) Indicates whether a user is authorized to access an item in the report server database for a given folder operation.
공용 메서드 CheckAccess(String, IntPtr, array<Byte> [] () [] [], array<FolderOperation> [] () [] []) Checks a user's authorization credentials against a security descriptor for operations on an item in the report server database
공용 메서드 CheckAccess(String, IntPtr, array<Byte> [] () [] [], ModelItemOperation) Indicates whether a user is authorized to access an item in the report server database for a given model item operation.
공용 메서드 CheckAccess(String, IntPtr, array<Byte> [] () [] [], ModelOperation) Indicates whether a user is authorized to access an item in the report server database for a given model operation.
공용 메서드 CheckAccess(String, IntPtr, array<Byte> [] () [] [], ReportOperation) Indicates whether a user is authorized to access an item in the report server database for a given report operation.
공용 메서드 CheckAccess(String, IntPtr, array<Byte> [] () [] [], ResourceOperation) Indicates whether a user is authorized to access an item in the report server database for a given resource operation.
공용 메서드 CheckAccess(String, IntPtr, array<Byte> [] () [] [], array<ResourceOperation> [] () [] []) Indicates whether a user is authorized to access an item in the report server database for a given array of resource operations.
공용 메서드 CreateSecurityDescriptor Returns the security descriptor that is stored with an individual item in the report server database.
공용 메서드 GetPermissions Returns the set of permissions granted a specific user for an item in the report server database.
공용 메서드 SetConfiguration Used to pass custom configuration data to an extension. (IExtension에서 상속됨)

맨 위로 이동

주의

Authorization is the process of determining whether an identity should be granted the requested type of access to a given resource in the report server database. This is accomplished in Reporting Services by storing and associating an access control list (AceCollection object) with each system and item resource in the report server database. Your authorization extension should provide an implementation of the CreateSecurityDescriptor method, which is called by the report server whenever a new role assignment is created for an item in the report server database. Your implementation of CreateSecurityDescriptor must, at minimum, serialize the AceCollection. You can optionally serialize additional user information as part of the security descriptor. Implement CheckAccess in order to evaluate whether a given user has the appropriate permissions to carry out a requested operation. Your implementation of CheckAccess should de-serialize the security descriptor, evaluate each AceStruct object, and check for a valid operation permission that corresponds to the username and the requested operation. If a matching operation is found, CheckAccess should return true.