04-09-2010 08:05 AM
09-02-2010 03:38 AM
09-02-2010 05:14 AM
authenticationService.setAuthenticationEnabled(userName, false);
authenticationService.setAuthenticationEnabled(userName, true);
09-08-2010 01:50 AM
09-08-2010 04:03 AM
09-08-2010 04:21 AM
NodeRef nodeRef = Application.getCurrentUser(FacesContext.getCurrentInstance()).getPerson();
if (!this.getNodeService().hasAspect(nodeRef,
MyContentModel.ASPECT_INFO)) {
Map<QName, Serializable> vInfoProps = new HashMap<QName, Serializable>();
vCardProps.put(MyContentModel.PROP_1,
this.number);
// add the aspect to the space
this.getNodeService().addAspect(nodeRef,
MyContentModel.ASPECT_INFO, vInfoProps );
// if the above calls were successful, then reset Person Node in the session
Application.getCurrentUser(context).reset();
}
What I am missing?
09-08-2010 05:59 AM
09-13-2010 04:29 AM
about diableing user you can do that with.authenticationService.setAuthenticationEnabled(userName, false);
authenticationService.setAuthenticationEnabled(userName, true);
09-13-2010 10:44 AM
<a:actionLink value="#{msg.modify}" image="/images/icons/edituser.gif" showLink="false" action="dialog:somedialog" actionListener="#{DialogManager.bean.setupUserAction}">
<f:param name="id" value="#{r.id}" />
</a:actionLink>
09-13-2010 10:54 AM
09-14-2010 03:06 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.