Condividi tramite


Classe AceCollection

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

Gerarchia di ereditarietà

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

Spazio dei nomi  Microsoft.ReportingServices.Interfaces
Assembly:   Microsoft.ReportingServices.SharePoint.UI.WebParts (in Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)
  Microsoft.ReportingServices.Interfaces (in Microsoft.ReportingServices.Interfaces.dll)

Sintassi

'Dichiarazione
<SerializableAttribute> _
Public NotInheritable Class AceCollection _
    Inherits CollectionBase
'Utilizzo
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

Nel tipo AceCollection sono esposti i membri seguenti.

Costruttori

  Nome Descrizione
Metodo pubblico AceCollection Initializes a new instance of the AceCollection class.

In alto

Proprietà

  Nome Descrizione
Proprietà pubblica Capacity Ereditato da CollectionBase.
Proprietà pubblica Count Ereditato da CollectionBase.
Proprietà protetta InnerList Ereditato da CollectionBase.
Proprietà pubblica Item Gets or sets the element at the specified index. In C#, this property is the indexer for the AceCollection class.
Proprietà protetta List Ereditato da CollectionBase.

In alto

Metodi

  Nome Descrizione
Metodo pubblico Add Adds an object to the end of the AceCollection.
Metodo pubblico Clear Ereditato da CollectionBase.
Metodo pubblico Equals Ereditato da Object.
Metodo protetto Finalize Ereditato da Object.
Metodo pubblico GetEnumerator Ereditato da CollectionBase.
Metodo pubblico GetHashCode Ereditato da Object.
Metodo pubblico GetType Ereditato da Object.
Metodo protetto MemberwiseClone Ereditato da Object.
Metodo protetto OnClear Ereditato da CollectionBase.
Metodo protetto OnClearComplete Ereditato da CollectionBase.
Metodo protetto OnInsert Ereditato da CollectionBase.
Metodo protetto OnInsertComplete Ereditato da CollectionBase.
Metodo protetto OnRemove Ereditato da CollectionBase.
Metodo protetto OnRemoveComplete Ereditato da CollectionBase.
Metodo protetto OnSet Ereditato da CollectionBase.
Metodo protetto OnSetComplete Ereditato da CollectionBase.
Metodo protetto OnValidate Ereditato da CollectionBase.
Metodo pubblico RemoveAt Ereditato da CollectionBase.
Metodo pubblico ToString Ereditato da Object.

In alto

Implementazioni esplicite dell'interfaccia

  Nome Descrizione
Implementazione esplicita dell'interfacciaMetodo privato IList. . :: . .Add Ereditato da CollectionBase.
Implementazione esplicita dell'interfacciaMetodo privato IList. . :: . .Contains Ereditato da CollectionBase.
Implementazione esplicita dell'interfacciaMetodo privato ICollection. . :: . .CopyTo Ereditato da CollectionBase.
Implementazione esplicita dell'interfacciaMetodo privato IList. . :: . .IndexOf Ereditato da CollectionBase.
Implementazione esplicita dell'interfacciaMetodo privato IList. . :: . .Insert Ereditato da CollectionBase.
Implementazione esplicita dell'interfacciaProprietà privata IList. . :: . .IsFixedSize Ereditato da CollectionBase.
Implementazione esplicita dell'interfacciaProprietà privata IList. . :: . .IsReadOnly Ereditato da CollectionBase.
Implementazione esplicita dell'interfacciaProprietà privata ICollection. . :: . .IsSynchronized Ereditato da CollectionBase.
Implementazione esplicita dell'interfacciaProprietà privata IList. . :: . .Item Ereditato da CollectionBase.
Implementazione esplicita dell'interfacciaMetodo privato IList. . :: . .Remove Ereditato da CollectionBase.
Implementazione esplicita dell'interfacciaProprietà privata ICollection. . :: . .SyncRoot Ereditato da CollectionBase.

In alto

Osservazioni

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.

Protezione dei thread

I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.