getGID()
getGID() : string
Interface IGroup
getUsers() : array<mixed,\OCP\IUser>
get all users in the group
inGroup(\OCP\IUser $user) : boolean
check if a user is in the group
\OCP\IUser | $user |
addUser(\OCP\IUser $user)
add a user to the group
\OCP\IUser | $user |
removeUser(\OCP\IUser $user)
remove a user from the group
\OCP\IUser | $user |
searchUsers(string $search, integer $limit = null, integer $offset = null) : array<mixed,\OCP\IUser>
search for users in the group by userid
string | $search | |
integer | $limit | |
integer | $offset |
searchDisplayName(string $search, integer $limit = null, integer $offset = null) : array<mixed,\OCP\IUser>
search for users in the group by displayname
string | $search | |
integer | $limit | |
integer | $offset |