Nextcloud PHP API (stable19)

IGetRealUIDBackend

Tags
since
17.0.0

Table of Contents

getRealUID()  : string
Some backends accept different UIDs than what is the internal UID to be used.

Methods

getRealUID()

Some backends accept different UIDs than what is the internal UID to be used.

public getRealUID(string $uid) : string

For example the database backend accepts differnt 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

Parameters
$uid : string
Tags
since
17.0.0
Return values
string

Search results