Logo Search packages:      
Sourcecode: lat version File versions  Download package

string lat::ServerData::GetAttributeValueFromEntry ( LdapEntry  le,
string  attr 
) [inline]

Gets the value of an attribute for the given entry.

attrAttribute to lookup type
The value of the attribute (or an empty string if there is no value).

Definition at line 230 of file ServerData.cs.

                  LdapAttribute la = le.getAttribute (attr);

                  if (la != null)
                        return la.StringValue;

                  return "";

Generated by  Doxygen 1.6.0   Back to index