Thank you very much for pointing this out Henry Vilminko. You can generate the users by editing csv file (use export for edit option) and follow the below given steps.
If you want to create new native users you can just leave the internal_id field empty and HSS will generate a new id automatically. The password can be given in plain text – Shared Services will encrypt it before storing the user in the database. The file shown below will create three new test users in Native Directory when imported through LCM.
Regards,
Henri Vilminko
#user
id,provider,login_name,first_name,last_name,description,email,internal_id,password,active
testuser1,Native Directory,testuser1,Test1,User1,Test User Number1,,,testpassword1,true
testuser2,Native Directory,testuser2,Test2,User2,Test User Number2,,,testpassword2,true
testuser3,Native Directory,testuser3,Test3,User3,Test User Number3,,,testpassword3,true
Hi,
If you want to create new native users you can just leave the internal_id field empty and HSS will generate a new id automatically. The password can be given in plain text – Shared Services will encrypt it before storing the user in the database. The file shown below will create three new test users in Native Directory when imported through LCM.
Regards,
Henri Vilminko
#user
id,provider,login_name,first_name,last_name,description,email,internal_id,password,active
testuser1,Native Directory,testuser1,Test1,User1,Test User Number1,,,testpassword1,true
testuser2,Native Directory,testuser2,Test2,User2,Test User Number2,,,testpassword2,true
testuser3,Native Directory,testuser3,Test3,User3,Test User Number3,,,testpassword3,true
Hi,
what about using the Java API of Shared Services?
Kind regards
Those who are interested in using HSS API, please follow the documentation
http://docs.oracle.com/cd/E17236_01/epm.1112/epm_security_api/frameset.htm?launch.html
User related functions can be found under UserFunctionsSample.java
Hello,
Have any one used Delegated User Management Concept in Shared Services version 11.1.2.2.
Below is an JAVA API which can be used to add bulk users (even Active Directory users ) to Native Group in Shared Service . . Thank Celvin for guidance .
We can tweak this for reading from a file containing a list of users to add to groups
First you need compile the program using the below code
set Server=Server where Shared Service is installed
set CLASSPATH=Libcommons-codec-1.8-sources.jar;Libcommons-codec-1.8.jar;Librt.jar;\%Server%E$OracleMiddlewareEPMSystem11R1commonjlib11.1.2.0epm_j2se.jar;\%Server%E$OracleMiddlewareEPMSystem11R1commonCSS11.1.2.0libcss.jar;Libcommons-lang3-3.1.jar;Class;
set EPM_ORACLE_INSTANCE=\%Server%E$OracleMiddlewareuser_projectsepmsystem1
Javac Provision.java
Note : – Add the path where the class is available in the CLASSPATH variable
To run this program use the following lines
set Server=Server where Shared Service is installed
set CLASSPATH=Libcommons-codec-1.8-sources.jar;Libcommons-codec-1.8.jar;Librt.jar;\%Server%E$OracleMiddlewareEPMSystem11R1commonjlib11.1.2.0epm_j2se.jar;\%Server%E$OracleMiddlewareEPMSystem11R1commonCSS11.1.2.0libcss.jar;Libcommons-lang3-3.1.jar;Class;
set EPM_ORACLE_INSTANCE=\%Server%E$OracleMiddlewareuser_projectsepmsystem1
Java Provision user1 admin password1 "test_native_grp1; test_native_grp1"
Above program will add the user user1 to Native Groups test_native_grp1 and test_native_grp1 in Shared Service . Admin and password1 is the username and password of an administrative account in Shared service
@umar I've created one and will be publishing that soon. Thanks
Could not attach i can send in an email if any one needs it
Could you publish it please ?
check https://orahyplabs.com/2013/09/numsys-native-user-management-system.html
Hi celvin,
i used LCM utility.bat to add external user to group.how ever it overwrites the user available in the system.meaning old users have been removed from the group and newly added user were sitting i the group.
is there any way to append it using LCM utility.are they other way to do it?Please let me know.
@mitneela, what was the import option that you selected while importing it? If you are on 11.1.2.x version then that is set in preferences
i am in 11.1.2.1.during LCM import i selected "Createupdate"options.the same thing is replicated xml file as well.i don't know bout preference.can you please explain me where i need to find the preference?
thanks in advance
Don't worry about the preferences if you are on 11.1.2.1
http://docs.oracle.com/cd/E17236_01/epm.1112/epm_lifecycle_management/frameset.htm?apls06s01.html. I created a utility using Java and you can find it here https://orahyplabs.com/2013/11/numsys-20-native-user-management-system.html
got registry error while running.
can you please explain about java API to automate this
Did you go through the link? Right now you cannot automate it, however it allows you to create bulk set of users and groups.
Correct me if my wrong.adding bulk users and groups can be done in LCM utility in 11.1.2.1.But how ever is there any automated way to append external directory user (not overwrite) in to native directory group.(JAVA API or some other way).
Hi Celvin,
I was able to execute the sample API programs.How ever they have given a method to add native users in to group.But can you please explain me which class and interface need to be used to add LDAP users in to groups.
Use CSSNativeGroup and CSSUser