| 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.8.0+bba8b7a48c3412988f4331f41f4164c670d73663
Syntax [JsonPropertyAttribute]
public int UserId { get; }
<JsonPropertyAttribute>
Public ReadOnly Property UserId As Integer
Get
Dim instance As LogEventItem
Dim value As Integer
value = instance.UserId
public:
[JsonPropertyAttribute]
property int UserId {
int get ();
}
[<JsonPropertyAttribute>]
member UserId : int with get
Property Value
Int32Remarks 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