/// <summary> /// Iterates the ZFD Application attributes /// </summary> /// <param name="attrSet"> /// A <see cref="LdapAttributeSet"/> /// </param> /// <param name="dn"> /// A <see cref="System.String"/> /// </param> /// <returns> /// A <see cref="LDAPGroup"/> /// </returns> public static LDAPZFDApp iterZFDAppAttrs(LdapAttributeSet attrSet, string dn) { LDAPZFDApp app; System.Collections.IEnumerator ienum = attrSet.GetEnumerator(); if (attrSet.Count == 0) return null; app = new LDAPZFDApp(dn); while(ienum.MoveNext()) { LdapAttribute attribute=(LdapAttribute)ienum.Current; if (AttrEquals(attribute, ATTRNAME.APPASSOCIATIONS)) app.setAssociations(AttributeUtil.getListofAttr(attrSet, ATTRNAME.APPASSOCIATIONS)); } return app; }