ISubAdmin¶
-
interface
OCP\Group\
ISubAdmin
¶ Implemented by: OC\SubAdmin
Source: lib/public/Group/ISubAdmin.php#35
Methods¶
-
public
OCP\Group\ISubAdmin::
createSubAdmin
($user, $group)¶ - add a SubAdmin
Source: Parameters: - $user (
OCP\IUser
) user to be SubAdmin - $group (
OCP\IGroup
) group $user becomes subadmin of
Since: 16.0.0
- $user (
-
public
OCP\Group\ISubAdmin::
deleteSubAdmin
($user, $group)¶ - delete a SubAdmin
Source: Parameters: - $user (
OCP\IUser
) the user that is the SubAdmin - $group (
OCP\IGroup
) the group
Since: 16.0.0
- $user (
-
public
OCP\Group\ISubAdmin::
getSubAdminsGroups
($user)¶ - get groups of a SubAdmin
Source: Parameters: - $user (
OCP\IUser
) the SubAdmin
Returns: Since: 16.0.0
- $user (
-
public
OCP\Group\ISubAdmin::
getGroupsSubAdmins
($group)¶ - get SubAdmins of a group
Source: Parameters: - $group (
OCP\IGroup
) the group
Returns: Since: 16.0.0
- $group (
-
public
OCP\Group\ISubAdmin::
isSubAdminOfGroup
($user, $group)¶ - checks if a user is a SubAdmin of a group
Source: Parameters: - $user (
OCP\IUser
) - $group (
OCP\IGroup
)
Returns: bool
Since: 16.0.0
- $user (
-
public
OCP\Group\ISubAdmin::
isSubAdmin
($user)¶ - checks if a user is a SubAdmin
Source: Parameters: - $user (
OCP\IUser
)
Returns: bool
Since: 16.0.0
- $user (
-
public
OCP\Group\ISubAdmin::
isUserAccessible
($subadmin, $user)¶ - checks if a user is a accessible by a subadmin
Source: Parameters: Returns: bool
Since: 16.0.0