RawAcl Класс
Определение
Представляет список управления доступом.Represents an Access Control List (ACL).
public ref class RawAcl sealed : System::Security::AccessControl::GenericAcl
public sealed class RawAcl : System.Security.AccessControl.GenericAcl
type RawAcl = class
inherit GenericAcl
Public NotInheritable Class RawAcl
Inherits GenericAcl
- Наследование
Комментарии
RawAclКласс позволяет полностью управлять записями управления доступом (ACE).The RawAcl class allows full manipulation of Access Control Entries (ACEs). Он не применяет правила упорядочения для ACE и не предоставляет логику проверки.It does not enforce ordering rules for ACEs and does not provide validation logic. Любые записи ACE можно вставлять, изменять или удалять в любом месте списка ACL.Any ACE can be inserted, modified, or removed at any location in the ACL.
Конструкторы
RawAcl(Byte, Int32) |
Инициализирует новый экземпляр класса RawAcl с заданным номером редакции.Initializes a new instance of the RawAcl class with the specified revision level. |
RawAcl(Byte[], Int32) |
Инициализирует новый экземпляр класса RawAcl из указанной двоичной формы.Initializes a new instance of the RawAcl class from the specified binary form. |
Свойства
BinaryLength |
Возвращает длину в байтах двоичного представления текущего объекта RawAcl.Gets the length, in bytes, of the binary representation of the current RawAcl object. Эту длину необходимо использовать перед маршалингом списка управления доступом в двоичный массив с помощью метода GetBinaryForm(Byte[], Int32).This length should be used before marshaling the ACL into a binary array with the GetBinaryForm(Byte[], Int32) method. |
Count |
Возвращает количество элементов управления доступом в текущем объекте RawAcl.Gets the number of access control entries (ACEs) in the current RawAcl object. |
IsSynchronized |
Данное свойство всегда имеет значение |
Item[Int32] |
Получает или задает элемент управления доступом по указанному индексу.Gets or sets the Access Control Entry (ACE) at the specified index. |
Revision |
Возвращает уровень редакции объекта RawAcl.Gets the revision level of the RawAcl. |
SyncRoot |
Данное свойство всегда возвращает значение |
Методы
CopyTo(GenericAce[], Int32) |
Копирует каждый GenericAce текущего объекта GenericAcl в указанный массив.Copies each GenericAce of the current GenericAcl into the specified array. (Унаследовано от GenericAcl) |
Equals(Object) |
Определяет, равен ли указанный объект текущему объекту.Determines whether the specified object is equal to the current object. (Унаследовано от Object) |
GetBinaryForm(Byte[], Int32) |
Маршалирует содержимое объекта RawAcl в указанный массив байтов, начиная с указанной позиции.Marshals the contents of the RawAcl object into the specified byte array beginning at the specified offset. |
GetEnumerator() |
Извлекает объект, который можно использовать для итерации по записям управления доступом (ACE) в списке управления доступом (ACL).Retrieves an object that you can use to iterate through the access control entries (ACEs) in an access control list (ACL). (Унаследовано от GenericAcl) |
GetHashCode() |
Служит хэш-функцией по умолчанию.Serves as the default hash function. (Унаследовано от Object) |
GetType() |
Возвращает объект Type для текущего экземпляра.Gets the Type of the current instance. (Унаследовано от Object) |
InsertAce(Int32, GenericAce) |
Вставляет указанный элемент управления доступом по указанному индексу.Inserts the specified Access Control Entry (ACE) at the specified index. |
MemberwiseClone() |
Создает неполную копию текущего объекта Object.Creates a shallow copy of the current Object. (Унаследовано от Object) |
RemoveAce(Int32) |
Удаляет элемент управления доступом по указанному индексу.Removes the Access Control Entry (ACE) at the specified location. |
ToString() |
Возвращает строку, представляющую текущий объект.Returns a string that represents the current object. (Унаследовано от Object) |
Явные реализации интерфейса
ICollection.CopyTo(Array, Int32) |
Копирует каждый GenericAce текущего объекта GenericAcl в указанный массив.Copies each GenericAce of the current GenericAcl into the specified array. (Унаследовано от GenericAcl) |
IEnumerable.GetEnumerator() |
Возвращает новый экземпляр класса AceEnumerator, приведенный как экземпляр интерфейса IEnumerator.Returns a new instance of the AceEnumerator class cast as an instance of the IEnumerator interface. (Унаследовано от GenericAcl) |
Методы расширения
Cast<TResult>(IEnumerable) |
Приводит элементы объекта IEnumerable к заданному типу.Casts the elements of an IEnumerable to the specified type. |
OfType<TResult>(IEnumerable) |
Выполняет фильтрацию элементов объекта IEnumerable по заданному типу.Filters the elements of an IEnumerable based on a specified type. |
AsParallel(IEnumerable) |
Позволяет осуществлять параллельный запрос.Enables parallelization of a query. |
AsQueryable(IEnumerable) |
Преобразовывает коллекцию IEnumerable в объект IQueryable.Converts an IEnumerable to an IQueryable. |