PRPC contains LDAP components used to authenticate users already defined in an LDAP user store. You can dynamically build the PRPC user record, Data-Admin-Operator-ID, from content in LDAP but the administration of the LDAP user store is done outside of the PRPC using tools provided by the LDAP server provider.
We have a requirement where There is need to add/update/modify user details in Active Directory. Can we do it through a java code in an activity in Pega. That means that I will create an activity for this purpose and inside that activity I will be writing a java code which intends to add/delete/modify Users in Active Directory.
Yeah, if you want to create your own code to add/delete/modfiy users in a Active Directory you can do this. You can use the javax.naming classes, part of core Java, to create your java code in PRPC activities and Rule-Utility-Function (s) to accomplish what you need. If you look at the activity Code-Security.AuthenticationLDAPVerifyCredentials step 2 you can see how we connect/bind to a LDAP server for looking up/verifying user credentials for SSO LDAP authentication. That will get you started.