Acl
Immutable view of a native Windows access-control list.
A list can also be written as an AclSpec
wherever one is accepted.
Constructor
Acl aces …
Constructs an ACL from built entries.
Revision 4 is selected when an object entry is present; otherwise revision 2 is selected.
Parameters
| Name | Type | Description |
|---|---|---|
aces |
Iterable[Ace] |
Entries in packet order. |
:revision? |
(AclRevision | Int) |
Native ACL revision. |
Errors
ValueError if revision 2 is given with an object entry.
Fields
aces @ std.Seq[Ace]Immutable array-like view of the entries.
revision @ (AclRevision | Int)The revision, or its native number when it has no symbol.
size @ IntDeclared ACL packet size.
Methods
to_bin() -> Bin
Returns the exact native ACL packet.