on 03-11-2011 11:14 AM
Hi Gurus,
in mdm console, if you select a role, you will see the users who are assigned to this role.
how can I get this user list through java api.
Ouser server is MDM7.1SP5
Best regards,
John
Hello John
you cann't get users list.
you can get user roles information since SAP MDM 7.1 SP3:
com.sap.mdm.security.commands GetUserRoles Command
A command to retrieve the array of roles for the specified user
more about api you can read here(What's New in MDM Java and .NET API - part):
http://help.sap.com/saphelp_nwmdm71/helpdata/en/13/041975d8ce4d4287d5205816ea955a/frameset.htm
Regards
Kanstantsin Chernichenka
Edited by: Kanstantsin Chernichenka on Mar 11, 2011 3:10 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i believe - and correct me if i am wrong - that in the internal MDM tables
the roles table doesnt have field pointing to the users
but we have a pointer in the users table to the roles table
so all you can do is retrieve all the users , then loop on them for the role of your choice and create the required resultset.
the con : performance ofcource !
but then , since this requirement has got absolutely nothing to do with Master data management as such , SAP would royally ignore your request to provide such an API
thanks
-Adrivit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.