Click or drag to resize

AccountBlockInfoIsAnonymousBlock Property

This is preliminary documentation and is subject to change.

Whether the block only affects anonymous users.

Namespace: WikiClientLibrary.Sites
Assembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax
[JsonPropertyNameAttribute("blockanononly")]
public bool IsAnonymousBlock { get; init; }

Property Value

Boolean
Remarks

If the value of this property is false, the block is a "hard block" (affects logged-in users on a given IP/range). Note that temporary users are not considered logged-in here - they are always blocked by IP-address blocks. Note that user blocks are always hard blocks, since the target is logged in by definition.

See Block.php for more information.

See Also