okay, that works.
but If I delete the new created user with UserManager.removeUser(), the
user should be deleted. But If I add the user (same username) again,
this error will occur:
org.apache.jetspeed.page.document.NodeException: Destination already exists
The method UserManager.userExists() says there is no user with this name.
has someone an idea?
Ate Douma schrieb:
Frank Otto wrote:
hi,
I create an user with UserManager. How can I create user pages from
the template psml folder (/pages/_user/template/)?
In that case I suggest using the
org.apache.jetspeed.administration.PortalAdministration service instead
of the UserManager.
You can retrieve it from the JetspeedEngine using:
PortalAdministration portalAdministration =
(PortalAdministration)engine.getComponentManager().getComponent("PortalAdministration");
See also: WEB-INF/assembly/administration.xml
kind regards,
Frank
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]