C# Class Novell.Directory.Ldap.LdapMatchingRuleUseSchema

Represents the definition of a specific matching rule use in the directory schema. The LdapMatchingRuleUseSchema class represents the definition of a matching rule use. It is used to discover or modify which attributes are suitable for use with an extensible matching rule. It contains the name and identifier of a matching rule, and a list of attributes which it applies to.
Inheritance: LdapSchemaElement
Exibir arquivo Open project: EventStore/csharp-ldap Class Usage Examples

Public Methods

Method Description
LdapMatchingRuleUseSchema ( System raw ) : System

Constructs a matching rule use definition from the raw string value returned on a schema query for matchingRuleUse.

LdapMatchingRuleUseSchema ( System names, System oid, System description, bool obsolete, System attributes ) : System

Constructs a matching rule use definition 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 attribute.

Method Details

LdapMatchingRuleUseSchema() public method

Constructs a matching rule use definition from the raw string value returned on a schema query for matchingRuleUse.
public LdapMatchingRuleUseSchema ( System raw ) : System
raw System The raw string value returned on a schema /// query for matchingRuleUse. ///
return System

LdapMatchingRuleUseSchema() public method

Constructs a matching rule use definition for adding to or deleting from the schema.
public LdapMatchingRuleUseSchema ( System names, System oid, System description, bool obsolete, System attributes ) : System
names System Name(s) of the matching rule. /// ///
oid System Object Identifier of the the matching rule /// in dotted-decimal format. /// ///
description System Optional description of the matching rule use. /// ///
obsolete bool True if the matching rule use is obsolete. /// ///
attributes System List of attributes that this matching rule /// applies to. These values may be either the /// names or numeric oids of the attributes. ///
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