Next:
./inc/CGPGSign.php
Up:
./inc/CFreeIPAUser.php
Previous:
CFreeIPAUser::getInitialPassword
Contents
CFreeIPAUser::getUserGroupByRole
Description:
Gets the name of a user group by the school short name and the user's role.
Parameter:
schoolName: Short name of the school.
role: Role of the user (CSchool::SCHOOL_ROLE_TEACHER, ::SCHOOL_ROLE_PUPIL, ::SCHOOL_ROLE_SCHOOLADMIN)
Returns:
true, if the user was added successfully, otherwise (error) messages from the FreeIPA API.