on 11-04-2005 5:49 AM
Hi all ,
I created a user in web and getting some output.
For that i used like that code
IPortalComponentRequest req = (IPortalComponentRequest) getRequest();
IPortalComponentSession componentSession = req.getComponentSession();
IPortalComponentContext compcontext = req.getComponentContext();
IPortalComponentContext compcontext1 = req.getComponentContext();
IPortalComponentProfile profile = req.getComponentContext().getProfile();
sys = new SystemFactory(req.getLocale(), req.getUser(), profile.getProperty("R3_SYSTEM"), profile.getProperty("DB_SYSTEM"));
There Context will create a req.getUser.
But i need to create one more user some NewEntryUser instead of req.getUser how can i access the req.getNewEntryUser().
IF iam using like that it asks Dynpage or pageprcess not contain that method name .
Pls heip me
regards
Bhi
Hi,
You can create new Users thru IUserMaint Interface which extends IUser Interface.
You can create new User like this:
IUserMaint newUser = UMFactory.getUserFactory().newUser(<<UserId>>)
newUser.save();
newUser.commit();
Regards,
Pooja.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.