<?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: Active Directory</title>
	<atom:link href="http://www.dailydoseofexcel.com/archives/2006/02/06/active-directory/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dailydoseofexcel.com/archives/2006/02/06/active-directory/</link>
	<description>Daily posts of Excel tips…and other stuff</description>
	<lastBuildDate>Thu, 09 Feb 2012 18:06:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Dick Kusleika</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/02/06/active-directory/#comment-18677</link>
		<dc:creator>Dick Kusleika</dc:creator>
		<pubDate>Tue, 07 Feb 2006 23:43:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1338#comment-18677</guid>
		<description>&lt;p&gt;Rob:  It wouldn&#039;t let me get the FullName property because of a permission error.  I suppose I could log on my local machine as a domain administrator, but just to get the FullName?  Seems silly.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Rob:  It wouldn&#8217;t let me get the FullName property because of a permission error.  I suppose I could log on my local machine as a domain administrator, but just to get the FullName?  Seems silly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob van Gelder</title>
		<link>http://www.dailydoseofexcel.com/archives/2006/02/06/active-directory/#comment-18674</link>
		<dc:creator>Rob van Gelder</dc:creator>
		<pubDate>Tue, 07 Feb 2006 22:25:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1338#comment-18674</guid>
		<description>&lt;p&gt;I did pretty much the same activity last week. Needed to rationalise the number of logon scripts we still use.&lt;/p&gt;
&lt;p&gt;I dumped a list of users&lt;/p&gt;
&lt;p&gt;&#160;&#160;&#160;&#160;Set objDomain = GetObject(&quot;WinNT://&quot; &amp; sDomain)&lt;br&gt;
&#160;&#160;&#160;&#160;objDomain.Filter = Array(&quot;User&quot;)&lt;/p&gt;
&lt;p&gt;&#160;&#160;&#160;&#160;For Each objUser In objDomain&lt;br&gt;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;rng.Value = objUser.Name&lt;br&gt;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;rng.Offset(0, 1).Value = objUser.FullName&lt;br&gt;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;rng.Offset(0, 2).Value = objUser.LoginScript&lt;br&gt;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Set rng = rng.Offset(1)&lt;br&gt;
&#160;&#160;&#160;&#160;Next&lt;/p&gt;
&lt;p&gt;My code probably isnt the tidiest, but it worked and I only needed it once... handy!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I did pretty much the same activity last week. Needed to rationalise the number of logon scripts we still use.</p>
<p>I dumped a list of users</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;Set objDomain = GetObject(&#8220;WinNT://&#8221; &amp; sDomain)<br />
&nbsp;&nbsp;&nbsp;&nbsp;objDomain.Filter = Array(&#8220;User&#8221;)</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;For Each objUser In objDomain<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;rng.Value = objUser.Name<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;rng.Offset(0, 1).Value = objUser.FullName<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;rng.Offset(0, 2).Value = objUser.LoginScript<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set rng = rng.Offset(1)<br />
&nbsp;&nbsp;&nbsp;&nbsp;Next</p>
<p>My code probably isnt the tidiest, but it worked and I only needed it once&#8230; handy!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

