on 12-17-2008 6:45 PM
Hello All,
I want to delete some group(s) from particular user using UME APIu2019s.
Note: Not Default Groups like Everyone and Authenticated Users Groups
Hi DEVASARATHY PANDI,
Use below code u can delete the group from the portal
IGroupFactory gf=UMFactory.getGroupFactory();
gf.deleteGroup("unique id of the group") ;
Regards,
P.Manivannan.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
You must make use of UME API
IUserMaint user = UMFactory.getUserFactory().newUser("AAA");
user.setFirstName("BBB");
user.setLastName("CCC");
user.save();
user.commit();
//Assigning Group
String uniqueIdOfGroup = UMFactory.getGroupFactory().getGroupByUniqueName("GROUP_NAME").getUniqueID();
UMFactory.getGroupFactory().addUserToGroup(user.getUniqueID(), uniqueIdOfGroup);
IUserAccount uacc = UMFactory.getUserAccountFactory().newUserAccount("AAA", user.getUniqueID());
uacc.setPassword("pass1");
uacc.setPasswordChangeRequired(false);
uacc.save();
uacc.commit();
Hope it helps
for details check this link
IUserMaint API
http://help.sap.com/javadocs/nwce/current/se/SP5/com/sap/security/api/IUserMaint.html
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you checked the UME APIs? You might want to search for IUserMaint.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.