C# Class Novell.Directory.Ldap.LdapAttributeSchema

The definition of an attribute type in the schema. LdapAttributeSchema is used to discover an attribute's syntax, and add or delete an attribute definition. RFC 2252, "Lightweight Directory Access Protocol (v3): Attribute Syntax Definitions" contains a description of the information on the Ldap representation of schema. draft-sermerseim-nds-ldap-schema-02, "Ldap Schema for NDS" defines the schema descriptions and non-standard syntaxes used by Novell eDirectory.
Inheritance: LdapSchemaElement
显示文件 Open project: EventStore/csharp-ldap Class Usage Examples

Public Methods

Method Description
LdapAttributeSchema ( System raw ) : System

Constructs an attribute definition from the raw string value returned on a directory query for "attributetypes".

LdapAttributeSchema ( System names, System oid, System description, System syntaxString, bool single, System superior, bool obsolete, System equality, System ordering, System substring, bool collective, bool isUserModifiable, int usage ) : System

Constructs an attribute definition for adding to or deleting from a directory's 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.

Private Methods

Method Description
InitBlock ( ) : void

Method Details

LdapAttributeSchema() public method

Constructs an attribute definition from the raw string value returned on a directory query for "attributetypes".
public LdapAttributeSchema ( System raw ) : System
raw System The raw string value returned on a directory /// query for "attributetypes". ///
return System

LdapAttributeSchema() public method

Constructs an attribute definition for adding to or deleting from a directory's schema.
public LdapAttributeSchema ( System names, System oid, System description, System syntaxString, bool single, System superior, bool obsolete, System equality, System ordering, System substring, bool collective, bool isUserModifiable, int usage ) : System
names System Names of the attribute. /// ///
oid System Object identifer of the attribute, in /// dotted numerical format. /// ///
description System Optional description of the attribute. /// ///
syntaxString System Object identifer of the syntax of the /// attribute, in dotted numerical format. /// ///
single bool True if the attribute is to be single-valued. /// ///
superior System Optional name of the attribute type which this /// attribute type derives from; null if there is no /// superior attribute type. /// ///
obsolete bool True if the attribute is obsolete. /// ///
equality System Optional matching rule name; null if there is not /// an equality matching rule for this attribute. /// ///
ordering System Optional matching rule name; null if there is not /// an ordering matching rule for this attribute. /// ///
substring System Optional matching rule name; null if there is not /// a substring matching rule for this attribute. /// ///
collective bool True of this attribute is a collective attribute /// ///
isUserModifiable bool False if this attribute is a read-only attribute /// ///
usage int Describes what the attribute is used for. Must be /// one of the following: USER_APPLICATIONS, /// DIRECTORY_OPERATION, DISTRIBUTED_OPERATION or /// DSA_OPERATION. ///
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