C# Class Novell.Directory.Ldap.LdapNameFormSchema

A specific a name form in the directory schema. The LdapNameFormSchema class represents the definition of a Name Form. It is used to discover or modify the allowed naming attributes for a particular object class.
Inheritance: LdapSchemaElement
显示文件 Open project: EventStore/csharp-ldap Class Usage Examples

Public Methods

Method Description
LdapNameFormSchema ( System raw ) : System
LdapNameFormSchema ( System names, System oid, System description, bool obsolete, System objectClass, System required, System optional ) : System

Constructs a name form for adding to or deleting from the schema.

Protected Methods

Method Description
formatString ( ) : System.String

Returns a string in a format suitable for directly adding to a directory, as a value of the particular schema element class.

Method Details

LdapNameFormSchema() public method

public LdapNameFormSchema ( System raw ) : System
raw System
return System

LdapNameFormSchema() public method

Constructs a name form for adding to or deleting from the schema.
public LdapNameFormSchema ( System names, System oid, System description, bool obsolete, System objectClass, System required, System optional ) : System
names System The name(s) of the name form. /// ///
oid System The unique object identifier of the name form - in /// dotted numerical format. /// ///
description System An optional description of the name form. /// ///
obsolete bool True if the name form is obsolete. /// ///
objectClass System The object to which this name form applies. /// This may be specified by either name or /// numeric oid. /// ///
required System A list of the attributes that must be present /// in the RDN of an entry that this name form /// controls. These attributes may be specified by /// either name or numeric oid. /// ///
optional System A list of the attributes that may be present /// in the RDN of an entry that this name form /// controls. These attributes may be specified by /// either name or numeric oid. ///
return System

formatString() protected method

Returns a string in a format suitable for directly adding to a directory, as a value of the particular schema element class.
protected formatString ( ) : System.String
return System.String