AceCollection 类

Represents a collection of access control entries specifying access rights for one or more trustees.

继承层次结构

System.Object
  System.Collections.CollectionBase
    Microsoft.ReportingServices.Interfaces.AceCollection

命名空间:  Microsoft.ReportingServices.Interfaces
程序集:   Microsoft.ReportingServices.Interfaces(在 Microsoft.ReportingServices.Interfaces.dll 中)
  Microsoft.ReportingServices.SharePoint.UI.WebParts(在 Microsoft.ReportingServices.SharePoint.UI.WebParts.dll 中)

语法

声明
<SerializableAttribute> _
Public NotInheritable Class AceCollection _
    Inherits CollectionBase
用法
Dim instance As AceCollection
[SerializableAttribute]
public sealed class AceCollection : CollectionBase
[SerializableAttribute]
public ref class AceCollection sealed : public CollectionBase
[<SealedAttribute>]
[<SerializableAttribute>]
type AceCollection =  
    class 
        inherit CollectionBase 
    end
public final class AceCollection extends CollectionBase

AceCollection 类型公开以下成员。

构造函数

  名称 说明
公共方法 AceCollection Initializes a new instance of the AceCollection class.

页首

属性

  名称 说明
公共属性 Capacity (从 CollectionBase 继承。)
公共属性 Count (从 CollectionBase 继承。)
公共属性 Item Gets or sets the element at the specified index. In C#, this property is the indexer for the AceCollection class.

页首

方法

  名称 说明
公共方法 Add Adds an object to the end of the AceCollection.
公共方法 Clear (从 CollectionBase 继承。)
公共方法 Equals (从 Object 继承。)
公共方法 GetEnumerator (从 CollectionBase 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
公共方法 RemoveAt (从 CollectionBase 继承。)
公共方法 ToString (从 Object 继承。)

页首

显式接口实现

  名称 说明
显式接口实现私有方法 IList.Add (从 CollectionBase 继承。)
显式接口实现私有方法 IList.Contains (从 CollectionBase 继承。)
显式接口实现私有方法 ICollection.CopyTo (从 CollectionBase 继承。)
显式接口实现私有方法 IList.IndexOf (从 CollectionBase 继承。)
显式接口实现私有方法 IList.Insert (从 CollectionBase 继承。)
显式接口实现私有属性 IList.IsFixedSize (从 CollectionBase 继承。)
显式接口实现私有属性 IList.IsReadOnly (从 CollectionBase 继承。)
显式接口实现私有属性 ICollection.IsSynchronized (从 CollectionBase 继承。)
显式接口实现私有属性 IList.Item (从 CollectionBase 继承。)
显式接口实现私有方法 IList.Remove (从 CollectionBase 继承。)
显式接口实现私有属性 ICollection.SyncRoot (从 CollectionBase 继承。)

页首

注释

An AceCollection instance contains items of type AceStruct and is used to represent an access control list (ACL) for items in the report server database.

An AceCollection identifies the trustees that are allowed access to a securable item in the report server database. When a user or process tries to access a securable item, the security extension checks the access control entries in the object's access control entry collection to determine whether to grant access to it. The security extension checks the access control entries in sequence until it finds one or more that allow all the requested access rights. For more information about access checks, see CheckAccess.

An AceCollection is similar to an access control list in Microsoft Windows. It is a list that tells a report server which access rights each user has to a particular item in the report server database, such as a folder or an individual report. Each item has a security descriptor that identifies its access control list. The list has an entry for each system user with access privileges. The most common privileges include the ability to read properties, to update content, and to execute reports. Each access control list has one or more access control entries consisting of the name of a user or group and the operations that user is allowed to perform. For each of these users or groups, the access privileges are stated in a collection of enumerable operations. Generally, the system administrator or the item owner creates the access control list for an object when setting report server policies through the Report Server Web service. Management applications (like Report Manager) call the Web service SetPolicies and SetSystemPolicies methods.

An AceCollection is passed as an argument to the CreateSecurityDescriptor method of the IAuthorizationExtension interface. You implement CreateSecurityDescriptor to serialize the AceCollection and any other metadata that you require for your security descriptor. You must also process the AceCollection for an item in the report server database when you implement the CheckAccess method.

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.ReportingServices.Interfaces 命名空间