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
Browsers and WSL  31 Mar 2024
Factory methods and functions  05 Mar 2023
Using Constructors  27 Feb 2023
An Inconvenient API  18 Feb 2023
Method Archetypes  11 Sep 2022
A bash puzzle, solved  02 Jul 2022
A bash puzzle  25 Jun 2022
Improve your troubleshooting by aggregating errors  11 Jun 2022
Improve your troubleshooting by wrapping errors  28 May 2022
Keep your promises  14 May 2022
May 2015