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

string [] lat::ServerData::GetRequiredAttrs ( string  objClass ) [inline]

Gets a list of requried attributes for a given object class.

Parameters:
objClassName of object class
Returns:
An array of required attribute names

Definition at line 478 of file ServerData.cs.

            {
                  if (objClass == null)
                        return null;
                  
                  LdapSchema schema = server.GetSchema ();
                  LdapObjectClassSchema ocs = schema.getObjectClassSchema ( objClass );

                  if (ocs != null)
                        return ocs.RequiredAttributes;

                  return null;
            }

Generated by  Doxygen 1.6.0   Back to index