Package de.uplanet.lucy.usermanager
Class UserNameBuilder
- java.lang.Object
-
- de.uplanet.lucy.usermanager.UserNameBuilder
-
@Scriptable public final class UserNameBuilder extends Object
Builds names from user related data.
-
-
Constructor Summary
Constructors Constructor Description UserNameBuilder()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getDisplayName(ILogonUser p_user)
static String
getFullName(ILogonUser p_user, boolean p_bWithComma)
Returns the full name of the specified user.static String
getFullName(ILogonUser p_user, boolean p_bWithTitle, boolean p_bWithComma)
-
-
-
Method Detail
-
getFullName
public static String getFullName(ILogonUser p_user, boolean p_bWithComma)
Returns the full name of the specified user.- Parameters:
p_user
- user to return the full name for.p_bWithComma
- specifies, if the name will be returned in the format<LastName>,<FirstName><MiddleName>
when true or<FirstName><MiddleName><LastName>
- Returns:
- fullname
-
getFullName
public static String getFullName(ILogonUser p_user, boolean p_bWithTitle, boolean p_bWithComma)
-
getDisplayName
public static String getDisplayName(ILogonUser p_user)
-
-