<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: VBScript &#8211; Check if current user is a member of a certain group</title>
	<atom:link href="http://daniel.streefkerkonline.com/vbscript-check-if-current-user-is-a-member-of-a-certain-group/feed/" rel="self" type="application/rss+xml" />
	<link>http://daniel.streefkerkonline.com/vbscript-check-if-current-user-is-a-member-of-a-certain-group/</link>
	<description>Ramblings of a tinkering SysAdmin</description>
	<lastBuildDate>Sat, 04 Feb 2012 06:21:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Daniel</title>
		<link>http://daniel.streefkerkonline.com/vbscript-check-if-current-user-is-a-member-of-a-certain-group/comment-page-1/#comment-7923</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Sun, 07 Aug 2011 23:00:03 +0000</pubDate>
		<guid isPermaLink="false">http://streefkerkonline.com/daniel/2006/12/19/vbscript-check-if-current-user-is-a-member-of-a-certain-group/#comment-7923</guid>
		<description>I haven&#039;t needed to do that in VBScript - but I used to use IFMember.exe in batch files. &lt;a href=&quot;http://clintboessen.blogspot.com/2011/02/ifmemberexe-doesnt-work-windows.html&quot; rel=&quot;nofollow&quot;&gt;Apparently&lt;/a&gt; it doesn&#039;t work anymore, but I haven&#039;t used it for a long time.</description>
		<content:encoded><![CDATA[<p>I haven&#8217;t needed to do that in VBScript &#8211; but I used to use IFMember.exe in batch files. <a href="http://clintboessen.blogspot.com/2011/02/ifmemberexe-doesnt-work-windows.html" rel="nofollow">Apparently</a> it doesn&#8217;t work anymore, but I haven&#8217;t used it for a long time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mircea Gaitan</title>
		<link>http://daniel.streefkerkonline.com/vbscript-check-if-current-user-is-a-member-of-a-certain-group/comment-page-1/#comment-7919</link>
		<dc:creator>Mircea Gaitan</dc:creator>
		<pubDate>Fri, 05 Aug 2011 09:45:16 +0000</pubDate>
		<guid isPermaLink="false">http://streefkerkonline.com/daniel/2006/12/19/vbscript-check-if-current-user-is-a-member-of-a-certain-group/#comment-7919</guid>
		<description>Hi Daniel,

Very nice script. How about if I want to find out if the all domain users are members of a certain group?

Thanks.

Mircea</description>
		<content:encoded><![CDATA[<p>Hi Daniel,</p>
<p>Very nice script. How about if I want to find out if the all domain users are members of a certain group?</p>
<p>Thanks.</p>
<p>Mircea</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://daniel.streefkerkonline.com/vbscript-check-if-current-user-is-a-member-of-a-certain-group/comment-page-1/#comment-7889</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Fri, 15 Jul 2011 00:56:54 +0000</pubDate>
		<guid isPermaLink="false">http://streefkerkonline.com/daniel/2006/12/19/vbscript-check-if-current-user-is-a-member-of-a-certain-group/#comment-7889</guid>
		<description>Thanks. I&#039;m already using that comparemode</description>
		<content:encoded><![CDATA[<p>Thanks. I&#8217;m already using that comparemode</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: roland</title>
		<link>http://daniel.streefkerkonline.com/vbscript-check-if-current-user-is-a-member-of-a-certain-group/comment-page-1/#comment-7887</link>
		<dc:creator>roland</dc:creator>
		<pubDate>Wed, 13 Jul 2011 18:22:56 +0000</pubDate>
		<guid isPermaLink="false">http://streefkerkonline.com/daniel/2006/12/19/vbscript-check-if-current-user-is-a-member-of-a-certain-group/#comment-7887</guid>
		<description>Thanks for the great utility, however as this is vbscript you should either define TextCompare in
groupListD.CompareMode = TextCompare
or write 
groupListD.CompareMode = 1

otherwise it would do BinaryCompare (without option explicit turned on) or throw an error...

-roland</description>
		<content:encoded><![CDATA[<p>Thanks for the great utility, however as this is vbscript you should either define TextCompare in<br />
groupListD.CompareMode = TextCompare<br />
or write<br />
groupListD.CompareMode = 1</p>
<p>otherwise it would do BinaryCompare (without option explicit turned on) or throw an error&#8230;</p>
<p>-roland</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Demian</title>
		<link>http://daniel.streefkerkonline.com/vbscript-check-if-current-user-is-a-member-of-a-certain-group/comment-page-1/#comment-7854</link>
		<dc:creator>Demian</dc:creator>
		<pubDate>Sat, 11 Jun 2011 14:53:37 +0000</pubDate>
		<guid isPermaLink="false">http://streefkerkonline.com/daniel/2006/12/19/vbscript-check-if-current-user-is-a-member-of-a-certain-group/#comment-7854</guid>
		<description>Great script !!!
Thanks for sharing.</description>
		<content:encoded><![CDATA[<p>Great script !!!<br />
Thanks for sharing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://daniel.streefkerkonline.com/vbscript-check-if-current-user-is-a-member-of-a-certain-group/comment-page-1/#comment-7675</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Wed, 26 Jan 2011 21:38:49 +0000</pubDate>
		<guid isPermaLink="false">http://streefkerkonline.com/daniel/2006/12/19/vbscript-check-if-current-user-is-a-member-of-a-certain-group/#comment-7675</guid>
		<description>It&#039;s just grabbing the username out of an environment variable: &lt;code&gt;EnvString(&quot;username&quot;)&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>It&#8217;s just grabbing the username out of an environment variable: <code>EnvString("username")</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mike</title>
		<link>http://daniel.streefkerkonline.com/vbscript-check-if-current-user-is-a-member-of-a-certain-group/comment-page-1/#comment-7663</link>
		<dc:creator>mike</dc:creator>
		<pubDate>Fri, 07 Jan 2011 02:04:20 +0000</pubDate>
		<guid isPermaLink="false">http://streefkerkonline.com/daniel/2006/12/19/vbscript-check-if-current-user-is-a-member-of-a-certain-group/#comment-7663</guid>
		<description>I am a bit of a VBScript noob. Here is my question. I am not seeing what the user variable is. Or can this script read all of the Active Directory??</description>
		<content:encoded><![CDATA[<p>I am a bit of a VBScript noob. Here is my question. I am not seeing what the user variable is. Or can this script read all of the Active Directory??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chris</title>
		<link>http://daniel.streefkerkonline.com/vbscript-check-if-current-user-is-a-member-of-a-certain-group/comment-page-1/#comment-290</link>
		<dc:creator>chris</dc:creator>
		<pubDate>Fri, 13 Feb 2009 15:54:11 +0000</pubDate>
		<guid isPermaLink="false">http://streefkerkonline.com/daniel/2006/12/19/vbscript-check-if-current-user-is-a-member-of-a-certain-group/#comment-290</guid>
		<description>Excellent script, this is exactly what i was looking for. I appreciate your clean scripting style.

I will call this in a terminal services logon script to map a drive for only users in a specific group.

Thanks!</description>
		<content:encoded><![CDATA[<p>Excellent script, this is exactly what i was looking for. I appreciate your clean scripting style.</p>
<p>I will call this in a terminal services logon script to map a drive for only users in a specific group.</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

