IRootFolder

interface OCP\Files\IRootFolder
Interface IRootFolder
Implemented by:OC\Files\Node\Root OC\Files\Node\LazyRoot
Source:lib/public/Files/IRootFolder.php#36
Parent:OCP\Files\Folder
Parent:OC\Hooks\Emitter

Methods

public OCP\Files\IRootFolder::getUserFolder($userId)
Returns a view to user’s files folder
Source:

lib/public/Files/IRootFolder.php#48

Parameters:
  • $userId (string) user ID
Returns:

\OCP\Files\Folder

Throws:

\OC\User\NoUserException

Throws:

\OCP\Files\NotPermittedException

Throws:

\OC\User\NoUserException

Throws:

\OCP\Files\NotPermittedException

Since:

8.2.0