 | 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.3+0a73c45f0c78941900e328c6c6b819597b665e00
Syntaxpublic 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
Int64
RemarksWhen 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