BAPI / RFC to Add or Remove Security Roles from a User
Does anyone know if there's a BAPI or RFC I can call to add / remove security roles from a user?
I found ISAI_USER_ROLES_MAINTAIN, but I don't think this is the right one (looks like it's for 4.6). We're running on ECC 6.0 with NetWeaver 2004s.
Take a look in tcode BAPI under Basis... User Administration....
I think the name is something like BAPI_USER_AGR_ASSIGN and BAPI_USER_AGR_DELETE (or very similar).