static bool IsAttributeEmpty(LdapAttribute attribute) { if (attribute == null) { return(true); } if (attribute.size() == 0) { return(true); } if (attribute.StringValue == null || attribute.StringValue == "") { return(true); } return(false); }
static bool IsAttributeEmpty(LdapAttribute attribute) { if (attribute == null) { return(true); } if (attribute.size() == 0) { return(true); } if (attribute.StringValue == null || attribute.StringValue == "") { return(true); } return(false); }