return AccessControl.getUserView().getPerson().getEmployee().getCurrentWorkingPlace() .getAdministrativeOffice().getAdministratedDegreesForStudentCreationWithoutCandidacy();
Person person = AccessControl.getUserView().getPerson(); Unit currentWorkingPlace = person.getEmployee().getCurrentWorkingPlace(); AdministrativeOffice administrativeOffice = currentWorkingPlace.getAdministrativeOffice();  if (administrativeOffice == null) { for (PersonFunction personFunction : person.getActivePersonFunctions()) { if (personFunction.getFunction().getFunctionType().equals( FunctionType.ASSIDUOUSNESS_RESPONSIBLE) && personFunction.getUnit().getAdministrativeOffice() != null) { administrativeOffice = personFunction.getUnit().getAdministrativeOffice(); } } }  return administrativeOffice.getAdministratedDegreesForStudentCreationWithoutCandidacy();
    public Object provide(Object source, Object currentValue) {	return AccessControl.getUserView().getPerson().getEmployee().getCurrentWorkingPlace()		.getAdministrativeOffice().getAdministratedDegreesForStudentCreationWithoutCandidacy();    }