<?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: Why metdata's way of  metas_setassn   remove group is not effect in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Why-metdata-s-way-of-metas-setassn-remove-group-is-not-effect/m-p/600258#M17513</link>
    <description>I want to remove a group from user .And i don't now how to examing Metadata Server.I have contacted SAS Technical Supported</description>
    <pubDate>Wed, 30 Oct 2019 05:24:37 GMT</pubDate>
    <dc:creator>shursulei</dc:creator>
    <dc:date>2019-10-30T05:24:37Z</dc:date>
    <item>
      <title>Why metdata's way of  metas_setassn   remove group is not effect</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Why-metdata-s-way-of-metas-setassn-remove-group-is-not-effect/m-p/599752#M17505</link>
      <description>&lt;P&gt;I have use the way of&amp;nbsp;metas_setassn's create user-group to metdata server.But when i try to remove the&amp;nbsp; &lt;SPAN class="fontstyle0"&gt;association&lt;/SPAN&gt;&amp;nbsp;of group .The log is ok .But use the tool of smc to view .The Group isn't removed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%global personId groupId operator;
%let  personId=A5Q3QDPK.AQ000KIF;
%let  groupId=A5Q3QDPK.AQ0008GZ;
%let  operator=REMOVE;
*ProcessBody;

/*
 * 参数：
 * personId :  
 * groupId :
 * operator :
 */
%let server=vm126181;
%let adminUser=sasadm;
%let adminPass=sasadm000;
options metaserver="&amp;amp;server"
	metaport=8561
	metaprotocol=bridge
	metauser="&amp;amp;adminUser"
	metapass="&amp;amp;adminPass"
	metarepository="Foundation";
	
option mprint mlogic;

data _null_;
	length puri $256. guri $256. rc 8.;
	
	puri = compress("omsobj:Person\&amp;amp;personId");
	guri = compress("omsobj:IdentityGroup\&amp;amp;groupId");
	put puri=;
	put guri=;
	rc = metadata_setassn(puri, "IdentityGroups", "&amp;amp;operator", guri);&lt;BR /&gt;        put rc=;
run;

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The result is rc=0;&lt;/P&gt;&lt;P&gt;But use the tool of smc the group isn't removed;&lt;/P&gt;&lt;P&gt;Why&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2019 10:30:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Why-metdata-s-way-of-metas-setassn-remove-group-is-not-effect/m-p/599752#M17505</guid>
      <dc:creator>shursulei</dc:creator>
      <dc:date>2019-10-28T10:30:31Z</dc:date>
    </item>
    <item>
      <title>Re: Why metdata's way of  metas_setassn   remove group is not effect</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Why-metdata-s-way-of-metas-setassn-remove-group-is-not-effect/m-p/600087#M17508</link>
      <description>&lt;P&gt;A resulting RC of 0 indicates the metadata_setassn function completed successfully, and I don't see any issue with your syntax. It would be necessary to examine Metadata Server trace logging to determine what is happening on the server.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tested this process and was able to successfully add and remove a user from a group using the METADATA_SETASSN DATA Step function.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you already contacted SAS Technical Support and opened a support track?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2019 15:03:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Why-metdata-s-way-of-metas-setassn-remove-group-is-not-effect/m-p/600087#M17508</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2019-10-29T15:03:02Z</dc:date>
    </item>
    <item>
      <title>Re: Why metdata's way of  metas_setassn   remove group is not effect</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Why-metdata-s-way-of-metas-setassn-remove-group-is-not-effect/m-p/600258#M17513</link>
      <description>I want to remove a group from user .And i don't now how to examing Metadata Server.I have contacted SAS Technical Supported</description>
      <pubDate>Wed, 30 Oct 2019 05:24:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Why-metdata-s-way-of-metas-setassn-remove-group-is-not-effect/m-p/600258#M17513</guid>
      <dc:creator>shursulei</dc:creator>
      <dc:date>2019-10-30T05:24:37Z</dc:date>
    </item>
    <item>
      <title>Re: Why metdata's way of  metas_setassn   remove group is not effect</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Why-metdata-s-way-of-metas-setassn-remove-group-is-not-effect/m-p/600834#M17536</link>
      <description>&lt;P&gt;I would recommend you continue to work with SAS Technical Support. They can let you know what additional logging they may require to find the root cause of the failure.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2019 20:39:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Why-metdata-s-way-of-metas-setassn-remove-group-is-not-effect/m-p/600834#M17536</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2019-10-31T20:39:23Z</dc:date>
    </item>
  </channel>
</rss>

