14-09-23 05:47 AM
Hello Community Fam,
I'm looking for few examples how we can use the VBO - System - Active Directory to Add/Remove User to group.
Tried looking for similar threads but couldn't find relative content.
Would be helpful if I could get some insight from people who have implemented it.
14-09-23 08:01 AM
Hi Murali,
you need to pass the group distinguished name and user distinguished name in the below format.
Distinguished name : CN=ZZZ,OU=YYY,DC=XXX
You can get the actual values of GroupDn and UserDn of an existing user using powershell and use that to create your GroupDn & UserDn
if you are trying to access the active directory which is not in your localhost then you to connect to the LDAP using username and password. Please update the code as below and pass the username & password as inputs.
Dim root As DirectoryEntry = New DirectoryEntry("LDAP://" & GroupDn, username, password, AuthenticationTypes.None)
14-09-23 08:30 AM
Hi MuraliKrishna,
Hope you are doing good.
Just to add if you are currently using roles in BP you can get OU, CN, DC from active directory group name itself.
14-09-23 02:04 PM
Hello Athiban,
Thank you for your detailed response, I'll try it out and let you know.