on 05-22-2014 2:58 PM
Hi Friends,
I want to add/delete the users from the group via workbook.
Please provide me the workbook.
Appreciate your quick help.
Thanks,
Raj.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Francisco,
If the user is having the groups A,B,C and if you want to add the groups D,E to the same profile and through
workbook if you give D~E then the groups A,B,C will be removed from the user security profile and one of the groups from D will be set as default group
In order to perform the activity mentioned by you we have to know the prior groups of the user.
Here in our case we don't have any info of user except username and the groups to be added
Thanks,
Raj.
Raj, you can combine extension fields and import script:
groupsDel = doc.getExtensionField("GROUPS_DEL").get();
if(hasValue(groupsDel)) {
id_groups = groupsDel.split("~");
for(id_gr: id_groups) {
doc.removeFromGroup(id_gr);
}
}
groupsAdd = doc.getExtensionField("GROUPS_ADD").get();
if(hasValue(groupsAdd)) {
id_groups = groupsAdd.split("~");
for(id_gr: id_groups) {
doc.addToGroup(id_gr);
}
}
Francisco
Hi,
This is possible and the steps are available in SAP Note 1092321_Delete Collaborators. Please let me know if you are unable to fetch it and I can send the mass update file to delete users.
Hope this is helpful.
Thank you,
Vikram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
So you mean to say that from a Security standpoint various users were added to a group and now you want to delete some of the users from that group? And without having to login to the application for deleting users manually, correct?
In the Users import workbook, there are 2 columns for Inactive and Can_Login. Maybe if you are looking to prevent these users from logging into the system, you can use these 2 fields for this purpose.
Thanks,
Vikram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.