C# Class Novell.Directory.Ldap.LdapMatchingRuleSchema

The schematic definition of a particular matching rule in a particular Directory Server. The LdapMatchingRuleSchema class represents the definition of a mathcing rule. It is used to query matching rule syntax, and to add or delete a matching rule definition in a directory. Novell eDirectory does not currently allow matching rules to be added or deleted from the schema.
Inheritance: LdapSchemaElement
显示文件 Open project: EventStore/csharp-ldap Class Usage Examples

Public Methods

Method Description
LdapMatchingRuleSchema ( System rawMatchingRule, System rawMatchingRuleUse ) : System

Constructs a matching rule definition from the raw string values returned from a schema query for "matchingRule" and for "matchingRuleUse" for the same rule.

LdapMatchingRuleSchema ( System names, System oid, System description, System attributes, bool obsolete, System syntaxString ) : System

Constructs a matching rule definition for adding to or deleting from a directory.

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 attribute.

Method Details

LdapMatchingRuleSchema() public method

Constructs a matching rule definition from the raw string values returned from a schema query for "matchingRule" and for "matchingRuleUse" for the same rule.
public LdapMatchingRuleSchema ( System rawMatchingRule, System rawMatchingRuleUse ) : System
rawMatchingRule System The raw string value returned on a directory /// query for "matchingRule". /// ///
rawMatchingRuleUse System The raw string value returned on a directory /// query for "matchingRuleUse". ///
return System

LdapMatchingRuleSchema() public method

Constructs a matching rule definition for adding to or deleting from a directory.
public LdapMatchingRuleSchema ( System names, System oid, System description, System attributes, bool obsolete, System syntaxString ) : System
names System The names of the attribute. /// ///
oid System Object Identifier of the attribute - in /// dotted-decimal format. /// ///
description System Optional description of the attribute. /// ///
attributes System The OIDs of attributes to which the rule applies. /// This parameter may be null. All attributes added to /// this array must use the same syntax. /// ///
obsolete bool true if this matching rule is obsolete. /// /// ///
syntaxString System The unique object identifer of the syntax of the /// attribute, in dotted numerical format. /// ///
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 attribute.
protected formatString ( ) : System.String
return System.String