on 03-27-2012 5:21 PM
Hi SDNers,
Can you please guide me on steps for creating users in MDM using SAP MDM Java APIs.
Thanks,
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ravi,
Below are the steps to create a user in MDM repository, using new MDM Java API:
1. Create repository session context using RepositorySessionContext class.
2. Create Session using SessionManager class.
3. Add all the required user properties using UserProperties class and its setter methods.
4. Use CreateUserCommand class to create user. Set session, user properties and execute command.
Note: You will need to set change stamp before executing create user command. You can retrieve ChangeStamp from the object of GetUserListCommand class.
Thx/ -Tarun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ravi,
Please check below packages:
' com.sap.mdm.security'
' com.sap.mdm.security.commands'
There is a class user properties in the 1st package. Create the object of the class ( by setting the mandatory function parameters like set userID(), userName(), Password etc)
Use this method in the methods of the class CreateUserCommand.
Below link will be helpful for you:
http://help.sap.com/javadocs/mdm/sp06/com/sap/mdm/security/commands/CreateUserCommand.html
Thanks & Regards,
Namrta Mahajan
Also check RepositoryAccessPermissions.Objects class in the same package.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
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.