$auth = new OC_User(); $auth->clearBackends();
$auth = new OC_User(); $auth->clearBackends(['LDAP', 'Database']);In the first example, all backends used by the OC_User class will be cleared. In the second example, only the LDAP and Database backends will be cleared. The package library for OC_User is part of the ownCloud project, which is a popular file sharing and collaboration platform. The OC_User class is used to manage user authentication and authorization in ownCloud applications.