Class LuteceUserService
- java.lang.Object
-
- fr.paris.lutece.portal.service.security.LuteceUserService
-
public final class LuteceUserService extends Object
Service to access user management functionalities. This class provide
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LuteceUsergetLuteceUserFromName(String strName)Get the LuteceUser with the given namestatic voiduserAttributesChanged(String strUserName)Declares that a user was modified.
-
-
-
Method Detail
-
getLuteceUserFromName
public static LuteceUser getLuteceUserFromName(String strName)
Get the LuteceUser with the given name- Parameters:
strName- The name of the LuteceUser to get- Returns:
- The LuteceUser, or null if no LuteceUser has the given name
-
userAttributesChanged
public static void userAttributesChanged(String strUserName)
Declares that a user was modified. This method must be used every time a user is updated to keep the cache up to date. Note that if the user name of a user is changed, this method does not need to be called- Parameters:
strUserName- The name of the updated user.
-
-