<?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: Add users to existing access-role in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Add-users-to-existing-access-role/m-p/60428#M3800</link>
    <description>&lt;P&gt;Definitely something missing in the API documentation as I have no idea what "selection" refers to here.&lt;BR /&gt;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/186"&gt;@Amiad_Stern&lt;/a&gt;&amp;nbsp;any ideas?&lt;/P&gt;</description>
    <pubDate>Thu, 15 Aug 2019 19:23:12 GMT</pubDate>
    <dc:creator>PhoneBoy</dc:creator>
    <dc:date>2019-08-15T19:23:12Z</dc:date>
    <item>
      <title>Add users to existing access-role</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Add-users-to-existing-access-role/m-p/55060#M3556</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to add an AD user to an existing group.&lt;BR /&gt;Code I tried:&lt;BR /&gt;set access-role name "Test_Access_Role" users "test1"&amp;nbsp;&lt;SPAN&gt;machines "any" networks "any" remote-access-clients "any"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Every command I enter returns an error message.&lt;/P&gt;&lt;P&gt;what am I missing?&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2019 07:47:57 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Add-users-to-existing-access-role/m-p/55060#M3556</guid>
      <dc:creator>Maor_Benamer</dc:creator>
      <dc:date>2019-06-05T07:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: Add users to existing access-role</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Add-users-to-existing-access-role/m-p/55306#M3568</link>
      <description>Because you're calling the API incorrectly for users.&lt;BR /&gt;It should be users.add.source and then the AD name, if I'm reading the documentation properly.&lt;BR /&gt;Refer to the API documentation: &lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/set-access-role~v1.5%20" target="_blank"&gt;https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/set-access-role~v1.5%20&lt;/A&gt;</description>
      <pubDate>Fri, 07 Jun 2019 20:51:31 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Add-users-to-existing-access-role/m-p/55306#M3568</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2019-06-07T20:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: Add users to existing access-role</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Add-users-to-existing-access-role/m-p/55460#M3587</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I tried to write as you wrote but I get the following error message:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;set access-role name "Test_Access_Role" users.add.source "test1" machines "any" networks "any" remote-access-clients "any"

code: "generic_err_missing_required_parameters"
message: "Missing parameter: [selection]"&lt;/LI-CODE&gt;&lt;P&gt;Any idea?&lt;/P&gt;&lt;P&gt;Tnx&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2019 06:16:00 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Add-users-to-existing-access-role/m-p/55460#M3587</guid>
      <dc:creator>Maor_Benamer</dc:creator>
      <dc:date>2019-06-11T06:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: Add users to existing access-role</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Add-users-to-existing-access-role/m-p/60417#M3799</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I am trying to create an access role and am having difficulties. I am trying to add the active directory group called DIRECTORS. I used the command add access-role name "DIRECTORS" networks "any" machines "any" users.add.source "DIRECTORS". The output of the command indicates that the select parameter is missing, but reading the MANAGEMENT API I could not identify what this parameter would be.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Aug 2019 18:35:07 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Add-users-to-existing-access-role/m-p/60417#M3799</guid>
      <dc:creator>wislleym</dc:creator>
      <dc:date>2019-08-15T18:35:07Z</dc:date>
    </item>
    <item>
      <title>Re: Add users to existing access-role</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Add-users-to-existing-access-role/m-p/60428#M3800</link>
      <description>&lt;P&gt;Definitely something missing in the API documentation as I have no idea what "selection" refers to here.&lt;BR /&gt;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/186"&gt;@Amiad_Stern&lt;/a&gt;&amp;nbsp;any ideas?&lt;/P&gt;</description>
      <pubDate>Thu, 15 Aug 2019 19:23:12 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Add-users-to-existing-access-role/m-p/60428#M3800</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2019-08-15T19:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: Add users to existing access-role</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Add-users-to-existing-access-role/m-p/60476#M3802</link>
      <description>&lt;P&gt;Hello PhoneBoy. After some trying i created the access role. I used the command add access-role name "DIRETORIA" networks "any" machines "any" remote-access-client "any" users.add.source "PAINT.LOCAL__AD" users.selection "Diretoria" where PAINT.LOCAL is the name from my domain and where Diretoria is the name of my active directory group. A message was displayed stating that the requested object name [Diretoria] was not unique and that i should use the &lt;STRONG&gt;base-dn&lt;/STRONG&gt; parameter to add the access role. Then i used the command &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;add access-role name "DIRETORIA" networks "any" machines "any" remote-access-client "any" users.source "PAINT.LOCAL__AD" users.selection "Diretoria" users.base-dn "CN=Diretoria,OU=Diretoria,OU=MATRIZ,DC=paint,DC=local" color "yellow"&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-right" image-alt="34.jpg" style="width: 999px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/2170i703AF90B5F31921F/image-size/large?v=v2&amp;amp;px=999" role="button" title="34.jpg" alt="34.jpg" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2019 19:25:34 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Add-users-to-existing-access-role/m-p/60476#M3802</guid>
      <dc:creator>wislleym</dc:creator>
      <dc:date>2019-08-16T19:25:34Z</dc:date>
    </item>
    <item>
      <title>Re: Add users to existing access-role</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Add-users-to-existing-access-role/m-p/60480#M3803</link>
      <description>The error message was a little misleading but it does appear that's documented.&lt;BR /&gt;Glad you got it working.&lt;BR /&gt;</description>
      <pubDate>Fri, 16 Aug 2019 20:17:33 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Add-users-to-existing-access-role/m-p/60480#M3803</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2019-08-16T20:17:33Z</dc:date>
    </item>
  </channel>
</rss>

