Click or drag to resize

LogEventItemUserId Property

This is preliminary documentation and is subject to change.

The user ID who was responsible for the log event/recent change.

Namespace: WikiClientLibrary.Generators
Assembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax
public long UserId { get; init; }

Property Value

Int64
Remarks

When userid property is specified in the MediaWiki API request, for account creation events, this is user ID of the creating user is returned. When absent, this is the user ID returned is that of the created account (see phab:T73020). In most cases (such as in LogEventsList or RecentChangesGenerator), userid property is specified implicitly.

To get the user ID for the created user, especially in Create2 log action, use Params.UserId .

See Also