Класс 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.SharePoint.UI.WebParts (в Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)
  Microsoft.ReportingServices.Interfaces (в Microsoft.ReportingServices.Interfaces.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.)
Защищенное свойство InnerList (Производный от CollectionBase.)
Открытое свойство Item Gets or sets the element at the specified index. In C#, this property is the indexer for the AceCollection class.
Защищенное свойство List (Производный от CollectionBase.)

В начало

Методы

  Имя Описание
Открытый метод Add Adds an object to the end of the AceCollection.
Открытый метод Clear (Производный от CollectionBase.)
Открытый метод Equals (Производный от Object.)
Защищенный метод Finalize (Производный от Object.)
Открытый метод GetEnumerator (Производный от CollectionBase.)
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetType (Производный от Object.)
Защищенный метод MemberwiseClone (Производный от Object.)
Защищенный метод OnClear (Производный от CollectionBase.)
Защищенный метод OnClearComplete (Производный от CollectionBase.)
Защищенный метод OnInsert (Производный от CollectionBase.)
Защищенный метод OnInsertComplete (Производный от CollectionBase.)
Защищенный метод OnRemove (Производный от CollectionBase.)
Защищенный метод OnRemoveComplete (Производный от CollectionBase.)
Защищенный метод OnSet (Производный от CollectionBase.)
Защищенный метод OnSetComplete (Производный от CollectionBase.)
Защищенный метод OnValidate (Производный от CollectionBase.)
Открытый метод 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.

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.