Skip to Content
0
Mar 05, 2007 at 06:45 PM

Simple question: How to create new user in Active Directory ?

32 Views

We have a UME configuration file like:

AD_I, ActiveDirectory with some users

<dataSource id="AD_I"

className="com.sap.security.core.persistence.datasource.imp.LDAPPersistence"

isReadonly="false"

isPrimary="true">

AD_E, ActiveDirectory with other other users

<dataSource id="AD_E"

className="com.sap.security.core.persistence.datasource.imp.LDAPPersistence"

isReadonly="false"

isPrimary="true">

When I use:

IUserFactory factory = UMFactory.getUserFactory();

IUserMaint editableNewUser = factory.newUser("myId");

editableNewUser.setFirstName("firstName");

editableNewUser.setLastName("lastName");

return editableNewUser;

it always creates the user in the local UME database, not in AD_E or AD_I.

<u>Simple question:</u>

<b>How do I tell the UME to create the user in AD_I or AD_E ?</b>