Skip to content

SecDescControl

Security descriptor control flags.

Inherits from: Iterable[SecDescControlFlag]

Constructor

SecDescControl ...flags -> SecDescControl overload 1 of 2

Constructs a flag set from symbols.

Parameters

NameTypeDescription
...flags SecDescControlFlag

SecDescControl flags -> SecDescControl overload 2 of 2

Constructs a flag set from one iterable of symbols.

Parameters

NameTypeDescription
flags Iterable[SecDescControlFlag]

Methods

(band)[S @ SecDescControl] other -> S

Returns the flags set in both.

Parameters

NameTypeDescription
self S Receiver.
other S

(bnot)[S @ SecDescControl]() -> S

Returns the flags of the type that are not set.

Parameters

NameTypeDescription
self S Receiver.

(bor)[S @ SecDescControl] other -> S

Returns the flags set in either.

Parameters

NameTypeDescription
self S Receiver.
other S

(bxor)[S @ SecDescControl] other -> S

Returns the flags set in exactly one.

Parameters

NameTypeDescription
self S Receiver.
other S

contains flag -> Bool

Tests whether all flags named by flag are set.

Parameters

NameTypeDescription
flag SecDescControlFlag