Пример #1
0
 /** @see org.olat.system.security.PrincipalAttributes#isEmailDisabled() */
 public boolean isEmailDisabled() {
   String value = userService.getUserProperty(getUser(), UserConstants.EMAILDISABLED);
   if (value != null && value.equals("true")) {
     return true;
   }
   return false;
 }
Пример #2
0
 /** @see org.olat.system.security.PrincipalAttributes#getLastName() */
 @Override
 public String getLastName() {
   return userService.getUserProperty(getUser(), UserConstants.LASTNAME);
 }
Пример #3
0
 /** @see org.olat.system.security.PrincipalAttributes#getInstitutionalEmail() */
 @Override
 public String getInstitutionalEmail() {
   return userService.getUserProperty(getUser(), UserConstants.INSTITUTIONALEMAIL);
 }
Пример #4
0
 /** @see org.olat.system.security.PrincipalAttributes#getEmail() */
 @Override
 public String getEmail() {
   return userService.getUserProperty(getUser(), UserConstants.EMAIL);
 }