<?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 Getting an error while adding / removing the access to a user from a user group in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Getting-an-error-while-adding-removing-the-access-to-a-user-from/m-p/758446#M39219</link>
    <description>&lt;P&gt;Hi Team,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using the below PROC Meta data code for adding / removing the access to user group for a user(colleague), but getting an error due to a special character in the group name.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Code used :&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;proc metadata in= &lt;BR /&gt;"&amp;lt;UpdateMetadata&amp;gt;&lt;BR /&gt;&amp;lt;Metadata&amp;gt;&lt;BR /&gt;&amp;lt;Person Id=%str(%')&amp;amp;PersonId%str(%')&amp;gt;&lt;BR /&gt;&amp;lt;IdentityGroups Function=&amp;amp;FUNC&amp;gt;&lt;BR /&gt;&amp;lt;IdentityGroup ObjRef=%str(%')&amp;amp;GroupId%str(%') Name=%str(%')&amp;amp;Group%str(%')/&amp;gt;&lt;BR /&gt;&amp;lt;/IdentityGroups&amp;gt;&lt;BR /&gt;&amp;lt;/Person&amp;gt;&lt;BR /&gt;&amp;lt;/Metadata&amp;gt;&lt;BR /&gt;&amp;lt;ReposId&amp;gt;$METAREPOSITORY&amp;lt;/ReposId&amp;gt;&lt;BR /&gt;&amp;lt;ns&amp;gt;SAS&amp;lt;/ns&amp;gt;&lt;BR /&gt;&amp;lt;flags&amp;gt;268435456&amp;lt;/flags&amp;gt;&lt;BR /&gt;&amp;lt;Options/&amp;gt;&lt;BR /&gt;&amp;lt;/UpdateMetadata&amp;gt;";&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;Error Snapshot:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="THALLA_REDDY_0-1627666745682.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/62147iEB586FEA3A6F6B94/image-size/medium?v=v2&amp;amp;px=400" role="button" title="THALLA_REDDY_0-1627666745682.png" alt="THALLA_REDDY_0-1627666745682.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can anyone help me with a solution to fix this ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks in advance&lt;/P&gt;
&lt;P&gt;thalla&lt;/P&gt;</description>
    <pubDate>Fri, 30 Jul 2021 17:41:42 GMT</pubDate>
    <dc:creator>THALLA_REDDY</dc:creator>
    <dc:date>2021-07-30T17:41:42Z</dc:date>
    <item>
      <title>Getting an error while adding / removing the access to a user from a user group</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Getting-an-error-while-adding-removing-the-access-to-a-user-from/m-p/758446#M39219</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using the below PROC Meta data code for adding / removing the access to user group for a user(colleague), but getting an error due to a special character in the group name.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Code used :&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;proc metadata in= &lt;BR /&gt;"&amp;lt;UpdateMetadata&amp;gt;&lt;BR /&gt;&amp;lt;Metadata&amp;gt;&lt;BR /&gt;&amp;lt;Person Id=%str(%')&amp;amp;PersonId%str(%')&amp;gt;&lt;BR /&gt;&amp;lt;IdentityGroups Function=&amp;amp;FUNC&amp;gt;&lt;BR /&gt;&amp;lt;IdentityGroup ObjRef=%str(%')&amp;amp;GroupId%str(%') Name=%str(%')&amp;amp;Group%str(%')/&amp;gt;&lt;BR /&gt;&amp;lt;/IdentityGroups&amp;gt;&lt;BR /&gt;&amp;lt;/Person&amp;gt;&lt;BR /&gt;&amp;lt;/Metadata&amp;gt;&lt;BR /&gt;&amp;lt;ReposId&amp;gt;$METAREPOSITORY&amp;lt;/ReposId&amp;gt;&lt;BR /&gt;&amp;lt;ns&amp;gt;SAS&amp;lt;/ns&amp;gt;&lt;BR /&gt;&amp;lt;flags&amp;gt;268435456&amp;lt;/flags&amp;gt;&lt;BR /&gt;&amp;lt;Options/&amp;gt;&lt;BR /&gt;&amp;lt;/UpdateMetadata&amp;gt;";&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;Error Snapshot:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="THALLA_REDDY_0-1627666745682.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/62147iEB586FEA3A6F6B94/image-size/medium?v=v2&amp;amp;px=400" role="button" title="THALLA_REDDY_0-1627666745682.png" alt="THALLA_REDDY_0-1627666745682.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can anyone help me with a solution to fix this ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks in advance&lt;/P&gt;
&lt;P&gt;thalla&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jul 2021 17:41:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Getting-an-error-while-adding-removing-the-access-to-a-user-from/m-p/758446#M39219</guid>
      <dc:creator>THALLA_REDDY</dc:creator>
      <dc:date>2021-07-30T17:41:42Z</dc:date>
    </item>
    <item>
      <title>Re: Getting an error while adding / removing the access to a user from a user group</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Getting-an-error-while-adding-removing-the-access-to-a-user-from/m-p/758694#M39220</link>
      <description>&lt;P&gt;Looks like one of your user group names includes a quote. You should fix this at source to not contain quotes. Defining user groups containing quotes is just bad practice.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Aug 2021 04:15:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Getting-an-error-while-adding-removing-the-access-to-a-user-from/m-p/758694#M39220</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2021-08-02T04:15:57Z</dc:date>
    </item>
    <item>
      <title>Re: Getting an error while adding / removing the access to a user from a user group</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Getting-an-error-while-adding-removing-the-access-to-a-user-from/m-p/759427#M39235</link>
      <description>&lt;P&gt;As&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13976"&gt;@SASKiwi&lt;/a&gt;&amp;nbsp;says, I think you're only going to get trouble if you allow single quotes in the Group name.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, maybe as a temporary work around you could try coding a %BQUOTE around the Group name.&amp;nbsp; I still think you may have trouble though down the road.&amp;nbsp; Use at you own risk.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;	"&amp;lt;UpdateMetadata&amp;gt;
	&amp;lt;Metadata&amp;gt;
	&amp;lt;Person Id=%str(%')&amp;amp;PersonId%str(%')&amp;gt;
	&amp;lt;IdentityGroups Function=&amp;amp;FUNC&amp;gt;
	&amp;lt;IdentityGroup ObjRef=%str(%')&amp;amp;GroupId%str(%') Name=%str(%')&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;%BQUOTE&lt;/STRONG&gt;&lt;/FONT&gt;(&amp;amp;Group)%str(%')/&amp;gt;
	&amp;lt;/IdentityGroups&amp;gt;
	&amp;lt;/Person&amp;gt;
	&amp;lt;/Metadata&amp;gt;
	&amp;lt;ReposId&amp;gt;$METAREPOSITORY&amp;lt;/ReposId&amp;gt;
	&amp;lt;ns&amp;gt;SAS&amp;lt;/ns&amp;gt;
	&amp;lt;flags&amp;gt;268435456&amp;lt;/flags&amp;gt;
	&amp;lt;Options/&amp;gt;
	&amp;lt;/UpdateMetadata&amp;gt;";&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Jim&lt;/P&gt;</description>
      <pubDate>Wed, 04 Aug 2021 18:00:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Getting-an-error-while-adding-removing-the-access-to-a-user-from/m-p/759427#M39235</guid>
      <dc:creator>jimbarbour</dc:creator>
      <dc:date>2021-08-04T18:00:48Z</dc:date>
    </item>
  </channel>
</rss>

