on 12-07-2009 11:00 AM
Is there a way of automating the import of User/Group/Role Data provided under the User Administration tab to bulk assign users to a role? We have explored doing this via the Active Directory route but current contraints have ruled this out for now so I would like to explore the faesability of this option.
Thanks in advance
Keith,
You can create a portal application in WebDynpro for Java / JSP Dynpage which uses UME API . UME API has set of methods for create or modify users/roles/groups. Using this you can perform user opereations.
The alternative way of acheiving this is you can create a LSMW and record the user creation SU01 to automate user creation.
Ram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your input Anup. I haven't yet updated the UME config but I will need to add the ABAP system as an additional user store (we already connect to 3 LDAP user stores). Hopefully then I will see the roles as groups and be able to map them to the Portal roles so that we can assign authorisations via SU01.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Keith,
The link suggest that you have ABAP ume as Portal user persistence store. If this is the case, then you have to follow the documentation.
But you still need to do one thing in Portal and that is role-to-group mapping.
If you have ABAP as UME, ABAP role will be visible in Portal as Groups. These groups are mapped in Portal to corresponding Portal role. Now when you need to assign any user a portal role, you just need to do the same in SU01.
Let me know if need more detail.
Cheers,
A
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Keith,
We had a similar requirement and did an EXCEL sheet with the following block of data for about 1000 users. We repeated the same block of data 1000 times but each time with a different userid.
[User]
uid=P00006673
role=pcd:portal_content/myfolder/com.sap.pct.erp.ess.bp_folder/com.sap.pct.erp.ess.roles/Travel_Terms_Conditions
group=Z_SAP_ESS_CM;
[User]
uid=P00042346
role=pcd:portal_content/myfolder/com.sap.pct.erp.ess.bp_folder/com.sap.pct.erp.ess.roles/Travel_Terms_Conditions
group=Z_SAP_ESS_CM;
[User]
uid=P00040063
role=pcd:portal_content/myfolder/com.sap.pct.erp.ess.bp_folder/com.sap.pct.erp.ess.roles/Travel_Terms_Conditions
group=Z_SAP_ESS_CM;
[User]
uid=P00006655
role=pcd:portal_content/myfolder/com.sap.pct.erp.ess.bp_folder/com.sap.pct.erp.ess.roles/Travel_Terms_Conditions
group=Z_SAP_ESS_CM;
..............etc
1000 blocks.
We did use some code in Excel to do this 1000 blocks automatically. Let me know if this is your requirement.
Regards,
Gopal.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No, this isn't really what I want to do. I really want to assign portal roles without having to do anything in the portal itself. I have read [ABAP Centered role assignment|http://help.sap.com/saphelp_nwmobile71/helpdata/en/d2/3e3842b23d690de10000000a155106/frameset.htm] which I think is what I ultimately need but even following that I'm not able to get it to work. Any ideas?
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.