adgroup Module¶
- class adgroup.ADgroup(groupname, dn, ad_obj=None)[source]¶
Bases: object
A read-only object representation of an Active Directory group. It is intended to be instanciated by adcon.mldap.getgroup().
Implements dict-like semmantics.
Examples:
>>> u = ad.getgroup('staff') >>> "wimpy" in u True >>> print(u) <ADGroup: 'staff' having 23 users>