<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic RE: VBO - System - Active Directory - Add/Remove User in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/VBO-System-Active-Directory-Add-Remove-User/m-p/93722#M43208</link>
    <description>&lt;P&gt;Hi Murali,&lt;/P&gt;
&lt;P&gt;you need to pass the group distinguished name and user distinguished name in the below format.&lt;/P&gt;
&lt;P&gt;Distinguished name :&amp;nbsp;&lt;STRONG&gt;CN=ZZZ,OU=YYY,DC=XXX&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You can get the actual values of GroupDn and UserDn of an existing user using powershell and use that to create your GroupDn&amp;nbsp; &amp;amp; UserDn&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="24528.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/24662i853DEFB2D3E5CE0B/image-size/large?v=v2&amp;amp;px=999" role="button" title="24528.png" alt="24528.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;if you are trying to access the active directory which is not in your localhost then you to connect to the LDAP using &lt;SPAN style="font-size: 14.6667px;"&gt;username&lt;/SPAN&gt; and password. Please update the code as below and pass the username &amp;amp; password as inputs.&lt;/SPAN&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Dim root As DirectoryEntry = New DirectoryEntry("LDAP://" &amp;amp; GroupDn, username, password, AuthenticationTypes.None)&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Athiban Mahamathi - &lt;A href="https://www.linkedin.com/in/athiban-mahamathi-544a008b/" target="test_blank"&gt;https://www.linkedin.com/in/athiban-mahamathi-544a008b/&lt;/A&gt;&lt;BR /&gt;Technical Consultant,&lt;BR /&gt;SimplifyNext,&lt;BR /&gt;Singapore&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Thu, 14 Sep 2023 07:01:00 GMT</pubDate>
    <dc:creator>Athiban_Mahamathi</dc:creator>
    <dc:date>2023-09-14T07:01:00Z</dc:date>
    <item>
      <title>VBO - System - Active Directory - Add/Remove User</title>
      <link>https://community.blueprism.com/t5/Product-Forum/VBO-System-Active-Directory-Add-Remove-User/m-p/93721#M43207</link>
      <description>&lt;P&gt;Hello Community Fam,&lt;/P&gt;
&lt;P&gt;I'm looking for few examples how we can use the VBO - System - Active Directory to Add/Remove User to group.&lt;/P&gt;
&lt;P&gt;Tried looking for similar threads but couldn't find relative content.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Would be helpful if I could get some insight from people who have implemented it.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;MuraliKrishna&lt;BR /&gt;Senior Consultant - Wonderbotz&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Sep 2023 04:47:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/VBO-System-Active-Directory-Add-Remove-User/m-p/93721#M43207</guid>
      <dc:creator>krishna.kodimurali9</dc:creator>
      <dc:date>2023-09-14T04:47:00Z</dc:date>
    </item>
    <item>
      <title>RE: VBO - System - Active Directory - Add/Remove User</title>
      <link>https://community.blueprism.com/t5/Product-Forum/VBO-System-Active-Directory-Add-Remove-User/m-p/93722#M43208</link>
      <description>&lt;P&gt;Hi Murali,&lt;/P&gt;
&lt;P&gt;you need to pass the group distinguished name and user distinguished name in the below format.&lt;/P&gt;
&lt;P&gt;Distinguished name :&amp;nbsp;&lt;STRONG&gt;CN=ZZZ,OU=YYY,DC=XXX&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You can get the actual values of GroupDn and UserDn of an existing user using powershell and use that to create your GroupDn&amp;nbsp; &amp;amp; UserDn&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="24528.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/24662i853DEFB2D3E5CE0B/image-size/large?v=v2&amp;amp;px=999" role="button" title="24528.png" alt="24528.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;if you are trying to access the active directory which is not in your localhost then you to connect to the LDAP using &lt;SPAN style="font-size: 14.6667px;"&gt;username&lt;/SPAN&gt; and password. Please update the code as below and pass the username &amp;amp; password as inputs.&lt;/SPAN&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Dim root As DirectoryEntry = New DirectoryEntry("LDAP://" &amp;amp; GroupDn, username, password, AuthenticationTypes.None)&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Athiban Mahamathi - &lt;A href="https://www.linkedin.com/in/athiban-mahamathi-544a008b/" target="test_blank"&gt;https://www.linkedin.com/in/athiban-mahamathi-544a008b/&lt;/A&gt;&lt;BR /&gt;Technical Consultant,&lt;BR /&gt;SimplifyNext,&lt;BR /&gt;Singapore&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Sep 2023 07:01:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/VBO-System-Active-Directory-Add-Remove-User/m-p/93722#M43208</guid>
      <dc:creator>Athiban_Mahamathi</dc:creator>
      <dc:date>2023-09-14T07:01:00Z</dc:date>
    </item>
    <item>
      <title>RE: VBO - System - Active Directory - Add/Remove User</title>
      <link>https://community.blueprism.com/t5/Product-Forum/VBO-System-Active-Directory-Add-Remove-User/m-p/93723#M43209</link>
      <description>&lt;P&gt;Hi MuraliKrishna,&lt;/P&gt;
&lt;P&gt;Hope you are doing good.&lt;/P&gt;
&lt;P&gt;Just to add if&amp;nbsp; you are currently using roles in BP you can get OU, CN, DC from active directory group name itself.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;-----------------------&lt;BR /&gt;If I answered your query. Please  mark it as the "Best Answer"&lt;BR /&gt;&lt;BR /&gt;Harish Mogulluri&lt;BR /&gt;Lead developer&lt;BR /&gt;America/New_York TX&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Sep 2023 07:30:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/VBO-System-Active-Directory-Add-Remove-User/m-p/93723#M43209</guid>
      <dc:creator>harish.mogulluri</dc:creator>
      <dc:date>2023-09-14T07:30:00Z</dc:date>
    </item>
    <item>
      <title>RE: VBO - System - Active Directory - Add/Remove User</title>
      <link>https://community.blueprism.com/t5/Product-Forum/VBO-System-Active-Directory-Add-Remove-User/m-p/93724#M43210</link>
      <description>&lt;P&gt;Hello Athiban,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your detailed response, I'll try it out and let you know.&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;MuraliKrishna&lt;BR /&gt;Senior Consultant - Wonderbotz&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Sep 2023 13:04:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/VBO-System-Active-Directory-Add-Remove-User/m-p/93724#M43210</guid>
      <dc:creator>krishna.kodimurali9</dc:creator>
      <dc:date>2023-09-14T13:04:00Z</dc:date>
    </item>
  </channel>
</rss>

