C# Class Novell.Directory.Ldap.LdapDITContentRuleSchema

Represents a DIT (Directory Information Tree) content rule in a directory schema. The LdapDITContentRuleSchema class is used to discover or modify additional auxiliary classes, mandatory and optional attributes, and restricted attributes in effect for an object class.
Inheritance: LdapSchemaElement
显示文件 Open project: EventStore/csharp-ldap Class Usage Examples

Public Methods

Method Description
LdapDITContentRuleSchema ( System raw ) : System

Constructs a DIT content rule from the raw string value returned from a schema query for dITContentRules.

LdapDITContentRuleSchema ( System names, System oid, System description, bool obsolete, System auxiliary, System required, System optional, System precluded ) : System

Constructs a DIT content rule 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

LdapDITContentRuleSchema() public method

Constructs a DIT content rule from the raw string value returned from a schema query for dITContentRules.
public LdapDITContentRuleSchema ( System raw ) : System
raw System The raw string value returned from a schema query /// for content rules. ///
return System

LdapDITContentRuleSchema() public method

Constructs a DIT content rule for adding to or deleting from the schema.
public LdapDITContentRuleSchema ( System names, System oid, System description, bool obsolete, System auxiliary, System required, System optional, System precluded ) : System
names System The names of the content rule. /// ///
oid System The unique object identifier of the content rule - /// in dotted numerical format. /// ///
description System The optional description of the content rule. /// ///
obsolete bool True if the content rule is obsolete. /// ///
auxiliary System A list of auxiliary object classes allowed for /// an entry to which this content rule applies. /// These may either be specified by name or /// numeric oid. /// ///
required System A list of attributes that an entry /// to which this content rule applies must /// contain in addition to its normal set of /// mandatory attributes. These attributes may be /// specified by either name or numeric oid. /// ///
optional System A list of attributes that an entry /// to which this content rule applies may contain /// in addition to its normal set of optional /// attributes. These attributes may be specified by /// either name or numeric oid. /// ///
precluded System A list, consisting of a subset of the optional /// attributes of the structural and /// auxiliary object classes which are precluded /// from an entry to which this content rule /// applies. These 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