<?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: Query Active Directory with SAS and produce data set? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Query-Active-Directory-with-SAS-and-produce-data-set/m-p/444264#M111191</link>
    <description>&lt;P&gt;Are you trying to access a network drive from SAS? You can map a network drive in SAS using SAS Management Console. This is an Admin task.&lt;/P&gt;</description>
    <pubDate>Fri, 09 Mar 2018 20:59:11 GMT</pubDate>
    <dc:creator>SuryaKiran</dc:creator>
    <dc:date>2018-03-09T20:59:11Z</dc:date>
    <item>
      <title>Query Active Directory with SAS and produce data set?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Query-Active-Directory-with-SAS-and-produce-data-set/m-p/444198#M111164</link>
      <description>&lt;P&gt;Is it possible to query my local Active Directory with SAS returning data set?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In this case I have a set of 2700 network Id (NID), that might be former/current/locked down status, but I want to connect to my AD and return any information like user name, dept, status, last login date.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I guess what I am asking is can I create a libname command or something similar given I have access to AD?&amp;nbsp; TIA.&amp;nbsp; -KJ&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PS I know there are some PowerShell tools out there but I am already preprocessing my data to get the NID, and some security rights fields for the first phase of this project I thought I would check to see if I could get it all done in SAS and not have to use other tools.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Mar 2018 18:13:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Query-Active-Directory-with-SAS-and-produce-data-set/m-p/444198#M111164</guid>
      <dc:creator>kjohnsonm</dc:creator>
      <dc:date>2018-03-09T18:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: Query Active Directory with SAS and produce data set?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Query-Active-Directory-with-SAS-and-produce-data-set/m-p/444264#M111191</link>
      <description>&lt;P&gt;Are you trying to access a network drive from SAS? You can map a network drive in SAS using SAS Management Console. This is an Admin task.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Mar 2018 20:59:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Query-Active-Directory-with-SAS-and-produce-data-set/m-p/444264#M111191</guid>
      <dc:creator>SuryaKiran</dc:creator>
      <dc:date>2018-03-09T20:59:11Z</dc:date>
    </item>
    <item>
      <title>Re: Query Active Directory with SAS and produce data set?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Query-Active-Directory-with-SAS-and-produce-data-set/m-p/444277#M111198</link>
      <description>&lt;P&gt;SuryaKiran,&lt;/P&gt;
&lt;P&gt;No; I already do that in some cases. (meaning I do not use it offten but do use that feature with network file shares)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;No I literally have a list of 2700 Network ids with access to a server I suport and I need to cross check if the users are still active AD users with rights or not.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So I have read my data with NID and group relationships parsed it as I need it, and I want to read from an Active Directory server like it was a libname sucking in all the info about the given 2700 users with a left join (the bonus info would to trap any nid not in the AD set and write indicator field).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My AD servers could have a over million of NID records so I really don't want a data dump of all of them if I do not have too...&lt;/P&gt;
&lt;P&gt;but if i do, such is life. &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt;&amp;nbsp; -Kj&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Mar 2018 21:14:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Query-Active-Directory-with-SAS-and-produce-data-set/m-p/444277#M111198</guid>
      <dc:creator>kjohnsonm</dc:creator>
      <dc:date>2018-03-09T21:14:59Z</dc:date>
    </item>
    <item>
      <title>Re: Query Active Directory with SAS and produce data set?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Query-Active-Directory-with-SAS-and-produce-data-set/m-p/444289#M111201</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/43996"&gt;@kjohnsonm&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;importad.sas could give you a starting point to get to the code you want to.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://documentation.sas.com/?docsetId=bisecag&amp;amp;docsetTarget=p1g7fdz3po09len1ev2f3qpo89df.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_blank"&gt;http://documentation.sas.com/?docsetId=bisecag&amp;amp;docsetTarget=p1g7fdz3po09len1ev2f3qpo89df.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://documentation.sas.com/?docsetId=bisecag&amp;amp;docsetTarget=n16wd5khdis6qon1ac6rbmv79wyd.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_blank"&gt;http://documentation.sas.com/?docsetId=bisecag&amp;amp;docsetTarget=n16wd5khdis6qon1ac6rbmv79wyd.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Mar 2018 22:07:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Query-Active-Directory-with-SAS-and-produce-data-set/m-p/444289#M111201</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2018-03-09T22:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: Query Active Directory with SAS and produce data set?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Query-Active-Directory-with-SAS-and-produce-data-set/m-p/444294#M111203</link>
      <description>Patrick,&lt;BR /&gt;That second doc seems perfect starting point.  that is nice, thank you for your time. I do not think I have ever been directed to this dir as a shared local repository for sample code.  -KJ</description>
      <pubDate>Fri, 09 Mar 2018 22:35:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Query-Active-Directory-with-SAS-and-produce-data-set/m-p/444294#M111203</guid>
      <dc:creator>kjohnsonm</dc:creator>
      <dc:date>2018-03-09T22:35:31Z</dc:date>
    </item>
  </channel>
</rss>

