]>
git.argeo.org Git - gpl/argeo-slc.git/blob - MailLP.java
52d3b858f2fabf41fd4865960565bf71ba99063d
1 package org
.argeo
.cms
.e4
.users
.providers
;
3 import org
.argeo
.cms
.auth
.UserAdminUtils
;
4 import org
.argeo
.util
.naming
.LdapAttrs
;
5 import org
.osgi
.service
.useradmin
.User
;
7 /** Simply declare a label provider that returns the Primary Mail of a user */
8 public class MailLP
extends UserAdminAbstractLP
{
9 private static final long serialVersionUID
= 8329764452141982707L;
12 public String
getText(User user
) {
13 return UserAdminUtils
.getProperty(user
, LdapAttrs
.mail
.name());