Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
our_own_cloud_project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
die_coolen_jungs
our_own_cloud_project
Commits
a72cba4a
Commit
a72cba4a
authored
14 years ago
by
Robin Appelman
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of
http://git.gitorious.org/owncloud/owncloud
parents
210e5d5c
a1fbbd09
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
inc/User/backend.php
+12
-0
12 additions, 0 deletions
inc/User/backend.php
inc/lib_user.php
+15
-0
15 additions, 0 deletions
inc/lib_user.php
plugins/ldap/lib_ldap.php
+17
-0
17 additions, 0 deletions
plugins/ldap/lib_ldap.php
with
44 additions
and
0 deletions
inc/User/backend.php
+
12
−
0
View file @
a72cba4a
...
...
@@ -138,4 +138,16 @@ abstract class OC_USER_BACKEND {
*/
abstract
public
static
function
checkPassword
(
$username
,
$password
);
/**
* get a list of all users
*
*/
abstract
public
static
function
getUsers
();
/**
* get a list of all groups
*
*/
abstract
public
static
function
getGroups
();
}
This diff is collapsed.
Click to expand it.
inc/lib_user.php
+
15
−
0
View file @
a72cba4a
...
...
@@ -213,4 +213,19 @@ class OC_USER {
return
self
::
$_backend
->
checkPassword
(
$username
,
$password
);
}
/**
* get a list of all users
*
*/
public
static
function
getUsers
()
{
return
self
::
$_backend
->
getUsers
();
}
/**
* get a list of all groups
*
*/
public
static
function
getGroups
()
{
return
self
::
$_backend
->
getGroups
();
}
}
This diff is collapsed.
Click to expand it.
plugins/ldap/lib_ldap.php
+
17
−
0
View file @
a72cba4a
...
...
@@ -199,4 +199,21 @@ class OC_USER_LDAP extends OC_USER_BACKEND {
return
false
;
}
/**
* get a list of all users
*
*/
public
static
function
getUsers
(){
// does not work with MOD_AUTH (only or some modules)
return
false
;
}
/**
* get a list of all groups
*
*/
public
static
function
getGroups
(){
// does not work with MOD_AUTH (only or some modules)
return
false
;
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment