then,
IResource resource = ...;IUser is deprecated since it is a EP5 user. However, UME user is not available for KM. So, no choice.
IResourceContext context = resource.getContext();
IUser user = context.getUser();
By the way, to obtain the Locale
Locale locale = context.getLocale()
No comments:
Post a Comment