| 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.GeneratorsAssembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax public long UserId { get; init; }
Public Property UserId As Long
Get
Set
Dim instance As LogEventItem
Dim value As Long
value = instance.UserId
instance.UserId = value
public:
property long long UserId {
long long get ();
void set (long long value);
}
member UserId : int64 with get, set
Property Value
Int64Remarks 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