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

LdapEntry lat::ServerData::GetEntry ( string  dn ) [inline]

Gets an entry in the directory.

Parameters:
dnThe distinguished name of the entry

Definition at line 269 of file ServerData.cs.

References lat::LdapServer::Search().

            {
                  LdapEntry[] entry = server.Search (dn, LdapConnection.SCOPE_BASE, "objectclass=*", null);
                  if (entry.Length > 0)
                        return entry[0];
            
                  return null;
            }

Here is the call graph for this function:


Generated by  Doxygen 1.6.0   Back to index