IGetRealUIDBackend

interface OCP\User\Backend\IGetRealUIDBackend
Implemented by:OC\User\Database
Source:lib/public/User/Backend/IGetRealUIDBackend.php#32

Methods

public OCP\User\Backend\IGetRealUIDBackend::getRealUID($uid)
Some backends accept different UIDs than what is the internal UID to be used.
For example the database backend accepts different cased UIDs in all the functions
but the internal UID that is to be used should be correctly cased.

This little function makes sure that the used UID will be correct hen using the user object
Source:

lib/public/User/Backend/IGetRealUIDBackend.php#45

Parameters:
  • $uid (string)
Since:

17.0.0

Returns:

string