cancel
Showing results for 
Search instead for 
Did you mean: 

Find the new user ?

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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.