on 09-18-2007 2:56 PM
Hello Everyone,
We have a webdynpro application, inside this application we will create User account based on userr's input. Then we will also need to assign corresponding Portal roles to this account via api.
So here my question is whether this solution is possible? If it's possible, then could anyone provide me some information about these APIs usage?
Thanks a lot!!! It's very urgent to us.
Best regards
Deyang
Hi! Liu,
i think this is possible by using IRoleFactory API's.As your question is not clear to me, i am not able to give you the code.
with an example try to explain, what exactly you want.
B/W i am giving you the location of UMW API.
<a href="http://help.sap.com/javadocs/NW04/current/um/index.html">http://help.sap.com/javadocs/NW04/current/um/index.html</a>
enjoy,
Mithileshwar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mithileshwar,
Thanks for your quick information.
In our project, we need some UIs to maintain User account (create , delete, assign portal roles...). In default we can use Portal native "User administrator" to finish this task. But here we have to implement our own, because when we create a user we would like to do some additional tasks.
So we created a Webdynpro DC which will provide a User Maintaince UI. It should have the functionalities to create ,update user accounts in Server's UME. Also it should provide user to possibilities to assign Potal roles. In generally it should be a simplify version of Protal's User Administrator.
So if you have the experience on this topic, could you please provide us more detail information about this topic?
Thanks and Best regards
Deyang
Hi! Liu,
you can creata new User, roles and all using UME API.
i am giving you a sample code for this and for further help use UME API.
This example will create a user from given UniqueID.
IUserAccountFactory accountFact = UMFactory.getUserAccountFactory();
IUserAccount account = accountFact.newUserAccountnwUserID,userCreated.getUniqueID());
account.setPassword("sahu@123");
account.save();
account.commit();
regards,
Mithileshwar
Hi Deyang,
Please read this tutorial https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/cfdc9e90-0201-0010-6780-cc30206d...
Hope it would be helpful for u.
Regards,
<b>Seema Rane.</b>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.