Announcing a new beta release of the Document.Factory adding support for querying membership of active directory groups.

With support for active directory, you can specify a particular active directory group to query with a new header:

:: activedirectory ::
    context: machine
    group: Administrators

Then you can iterate over the members of the group within a liquid template, for example, to generate a table listing all the members of the group:

        <th>Last Login</th>
{% for member in Administrators.Members  %}
        <td>{{ member.Name }}</td>
        <td>{{ member.DisplayName }} </td>
        <td>{{ member.Description }} </td>
        <td>{{ member.LastLogon }} </td>
{% endfor %}


blog comments powered by Disqus
Next Post
Christchurch Code Camp 2015  17 May 2015
Prior Post
Cryptic Error Codes  04 Apr 2015
Related Posts
Beta release of the Document.Factory  01 Mar 2015
Related Pages
May 2015 archive