Nextcloud PHP API (master)

IGetRealUIDBackend

Tags
since
17.0.0

Table of Contents

Methods

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 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 when using the user object

Parameters
$uid : string
Tags
since
17.0.0
Return values
string

        
On this page

Search results