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.8.0+bba8b7a48c3412988f4331f41f4164c670d73663
Syntax
[JsonPropertyAttribute]
public int UserId { get; }

Property Value

Int32
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