C# Класс 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.
Наследование: LdapSchemaElement
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
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.

Приватные методы

Метод Описание
InitBlock ( ) : void

Описание методов

LdapAttributeSchema() публичный Метод

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". ///
Результат System

LdapAttributeSchema() публичный Метод

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. ///
Результат System

formatString() защищенный Метод

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
Результат System.String