<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>NOVELL FORUMS - GW: Library</title>
		<link>http://forums.novell.com/</link>
		<description />
		<language>en</language>
		<lastBuildDate>Tue, 24 Nov 2009 17:30:39 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://forums.novell.com/images/ca_serenity/misc/rss.jpg</url>
			<title>NOVELL FORUMS - GW: Library</title>
			<link>http://forums.novell.com/</link>
		</image>
		<item>
			<title>Remove User from Distribution List via VBScript</title>
			<link>http://forums.novell.com/novell-product-support-forums/groupwise/version-independent-forums/gw-library/393060-remove-user-distribution-list-via-vbscript.html</link>
			<pubDate>Tue, 17 Nov 2009 21:27:08 GMT</pubDate>
			<description>I am having a hard time figuring this out. 
 
Here is what I have thus far. I know little of Novell or Groupwise. I am just trying to code this...</description>
			<content:encoded><![CDATA[<div>I am having a hard time figuring this out.<br />
<br />
Here is what I have thus far. I know little of Novell or Groupwise. I am just trying to code this because it was requested by a client. So far I have been able to figure out how to do lots with things with Groupwise and Novell. But removing a user from a Distribution List is giving me problems.<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">Set oGWAdmin = CreateObject(&quot;NovellGroupWareAdmin&quot;)<br />
oGWAdmin.Connect (&quot;\\server\VOL1\grpwise\nam_dom&quot;)<br />
Set oDomain = oGWAdmin.ConnectedDomain<br />
'Set oDomains = oGWAdmin.Domains<br />
Set oUsers = oGWAdmin.Users<br />
Set oUser = oUsers.ItemByDn(&quot;user.ou.oganization&quot;,&quot;tree_name&quot;)<br />
Set oDList = oDomain.DistributionLists.Item(&quot;Distribution List Name&quot;,&quot;Post Office&quot;,oDomain)<br />
oUser.MemberOf.Add oUser,0,oDList<br />
msgbox &quot;Done!&quot;</code><hr />
</div>The above code does not work .. apparently oUser.MemberOf.Add works but there is no &quot;Remove&quot; function.<br />
<br />
Another thing I have found, was way too complex for me to understand. Here is the snipet of code I think could work but it is in vb.NET and I cannot code in that (which is why I am trying vbscript). <a href="http://gsexdev.blogspot.com/2006/04/removing-disabled-users-from.html" target="_blank">Here is a link</a> to that code, and below is the lines of code from that I think could work.. I just don't understand it all. <br />
<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">if mode = &quot;remove&quot; then <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set objgroup = getobject(&quot;LDAP://&quot; &amp; replace(objChildRS.fields(&quot;USGRPDN&quot;),&quot;/&quot;,&quot;\/&quot;))<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Set objUser = getobject(&quot;LDAP://&quot; &amp; replace(objChildRS.fields(&quot;USDN&quot;),&quot;/&quot;,&quot;\/&quot;))<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; objGroup.Remove(objUser.AdsPath) <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; objgroup.setinfo<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; wscript.echo &quot;User-Removed&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; end if</code><hr />
</div><br />
<br />
<br />
<br />
<br />
I need something simple. I want to pass to the script the user object and the Distribution List object, and the script should remove the user from the Distribution List.<br />
<br />
Thanks for any help here.</div>

]]></content:encoded>
			<category domain="http://forums.novell.com/novell-product-support-forums/groupwise/version-independent-forums/gw-library/">GW: Library</category>
			<dc:creator>jxmiller</dc:creator>
			<guid isPermaLink="true">http://forums.novell.com/novell-product-support-forums/groupwise/version-independent-forums/gw-library/393060-remove-user-distribution-list-via-vbscript.html</guid>
		</item>
		<item>
			<title>GroupWise 7 sp3 DMS Excel 2003 Close</title>
			<link>http://forums.novell.com/novell-product-support-forums/groupwise/version-independent-forums/gw-library/392311-groupwise-7-sp3-dms-excel-2003-close.html</link>
			<pubDate>Wed, 11 Nov 2009 21:15:17 GMT</pubDate>
			<description><![CDATA[I'm having trouble with closing an Excel document from DMS.  to close I 
select File/Close.   The user first reported that he would get a Run-time...]]></description>
			<content:encoded><![CDATA[<div>I'm having trouble with closing an Excel document from DMS.  to close I<br />
select File/Close.   The user first reported that he would get a Run-time<br />
424 error, object required.  So I changed the Macro:<br />
<br />
From:<br />
Sub CloseMacro()<br />
Call CloseFunction(False, False, EMPTY)<br />
End Sub<br />
<br />
To:<br />
Sub CloseMacro()<br />
Call CloseFunction(False, GetIsDirty(GetDocumentId(Workbooks.Item(1))),<br />
Workbooks.Item(1))<br />
End Sub<br />
<br />
<br />
The error went away, but now close doesn't do anything.  I select Close and<br />
nothing happens.  The only way to save and close the document is to select<br />
the 'X' in the top right and close excel.<br />
<br />
Any ideas?<br />
<br />
Thanks<br />
<br />
Brent Dastrup<br />
<br />
<br />
</div>

]]></content:encoded>
			<category domain="http://forums.novell.com/novell-product-support-forums/groupwise/version-independent-forums/gw-library/">GW: Library</category>
			<dc:creator>brentrd</dc:creator>
			<guid isPermaLink="true">http://forums.novell.com/novell-product-support-forums/groupwise/version-independent-forums/gw-library/392311-groupwise-7-sp3-dms-excel-2003-close.html</guid>
		</item>
	</channel>
</rss>
