BlueSpice MediaWiki master
 All Classes Namespaces Files Functions Variables Groups Pages
MediaWiki\User\UserIdentity Interface Reference
Inheritance diagram for MediaWiki\User\UserIdentity:

Public Member Functions

 getId ()
 
 getName ()
 
 getActorId ()
 

Detailed Description

Interface for objects representing user identity.

This represents the identity of a user in the context of page revisions and log entries.

Since
1.31

Member Function Documentation

MediaWiki\User\UserIdentity::getActorId ( )
Since
1.31
Returns
int The user's actor ID. May be 0 if no actor ID is set.

Implemented in MediaWiki\User\UserIdentityValue.

MediaWiki\User\UserIdentity::getId ( )
Since
1.31
Returns
int The user ID. May be 0 for anonymous users or for users with no local account.

Implemented in User, MediaWiki\User\UserIdentityValue, and SMW\Tests\Utils\Mock\MockSuperUser.

MediaWiki\User\UserIdentity::getName ( )
Since
1.31
Returns
string The user's logical name. May be an IPv4 or IPv6 address for anonymous users.

Implemented in User, MediaWiki\User\UserIdentityValue, and SMW\Tests\Utils\Mock\MockSuperUser.


The documentation for this interface was generated from the following file: