TokenGroupAttributes
Windows access-token group attributes.
Inherits from: Iterable[TokenGroupAttribute]
Constructor
TokenGroupAttributes ...flags -> TokenGroupAttributes overload 1 of 2
Constructs a flag set from symbols.
Parameters
| Name | Type | Description |
|---|---|---|
...flags |
TokenGroupAttribute |
TokenGroupAttributes flags -> TokenGroupAttributes overload 2 of 2
Constructs a flag set from one iterable of symbols.
Parameters
| Name | Type | Description |
|---|---|---|
flags |
Iterable[TokenGroupAttribute] |
Methods
(band)[S @ TokenGroupAttributes] other -> S
Returns the flags set in both.
Parameters
| Name | Type | Description |
|---|---|---|
self |
S |
Receiver. |
other |
S |
(bnot)[S @ TokenGroupAttributes]() -> S
Returns the flags of the type that are not set.
Parameters
| Name | Type | Description |
|---|---|---|
self |
S |
Receiver. |
(bor)[S @ TokenGroupAttributes] other -> S
Returns the flags set in either.
Parameters
| Name | Type | Description |
|---|---|---|
self |
S |
Receiver. |
other |
S |
(bxor)[S @ TokenGroupAttributes] other -> S
Returns the flags set in exactly one.
Parameters
| Name | Type | Description |
|---|---|---|
self |
S |
Receiver. |
other |
S |
contains flag -> Bool
Tests whether all flags named by flag are set.
Parameters
| Name | Type | Description |
|---|---|---|
flag |
TokenGroupAttribute |