C# Class Novell.Directory.Ldap.Rfc2251.RfcLdapResult

Represents an LdapResult.
 LdapResult ::= SEQUENCE { resultCode      ENUMERATED { success                      (0), operationsError              (1), protocolError                (2), timeLimitExceeded            (3), sizeLimitExceeded            (4), compareFalse                 (5), compareTrue                  (6), authMethodNotSupported       (7), strongAuthRequired           (8), -- 9 reserved -- referral                     (10),  -- new adminLimitExceeded           (11),  -- new unavailableCriticalExtension (12),  -- new confidentialityRequired      (13),  -- new saslBindInProgress           (14),  -- new noSuchAttribute              (16), undefinedAttributeType       (17), inappropriateMatching        (18), constraintViolation          (19), attributeOrValueExists       (20), invalidAttributeSyntax       (21), -- 22-31 unused -- noSuchObject                 (32), aliasProblem                 (33), invalidDNSyntax              (34), -- 35 reserved for undefined isLeaf -- aliasDereferencingProblem    (36), -- 37-47 unused -- inappropriateAuthentication  (48), invalidCredentials           (49), insufficientAccessRights     (50), busy                         (51), unavailable                  (52), unwillingToPerform           (53), loopDetect                   (54), -- 55-63 unused -- namingViolation              (64), objectClassViolation         (65), notAllowedOnNonLeaf          (66), notAllowedOnRDN              (67), entryAlreadyExists           (68), objectClassModsProhibited    (69), -- 70 reserved for CLdap -- affectsMultipleDSAs          (71), -- new -- 72-79 unused -- other                        (80) }, -- 81-90 reserved for APIs -- matchedDN       LdapDN, errorMessage    LdapString, referral        [3] Referral OPTIONAL } 
Inheritance: Novell.Directory.Ldap.Asn1.Asn1Sequence, RfcResponse
Datei anzeigen Open project: EventStore/csharp-ldap Class Usage Examples

Public Methods

Method Description
RfcLdapResult ( Asn1Enumerated resultCode, RfcLdapDN matchedDN, RfcLdapString errorMessage ) : System

Constructs an RfcLdapResult from parameters

RfcLdapResult ( Asn1Enumerated resultCode, RfcLdapDN matchedDN, RfcLdapString errorMessage, RfcReferral referral ) : System

Constructs an RfcLdapResult from parameters

getErrorMessage ( ) : RfcLdapString

Returns the error message from the server

getMatchedDN ( ) : RfcLdapDN

Returns the matched DN from the server

getReferral ( ) : RfcReferral

Returns the referral(s) from the server

getResultCode ( ) : Asn1Enumerated

Returns the result code from the server

Private Methods

Method Description
RfcLdapResult ( Asn1Decoder dec, System in_Renamed, int len ) : System

Method Details

RfcLdapResult() public method

Constructs an RfcLdapResult from parameters
public RfcLdapResult ( Asn1Enumerated resultCode, RfcLdapDN matchedDN, RfcLdapString errorMessage ) : System
resultCode Novell.Directory.Ldap.Asn1.Asn1Enumerated the result code of the operation /// ///
matchedDN RfcLdapDN the matched DN returned from the server /// ///
errorMessage RfcLdapString the diagnostic message returned from the server ///
return System

RfcLdapResult() public method

Constructs an RfcLdapResult from parameters
public RfcLdapResult ( Asn1Enumerated resultCode, RfcLdapDN matchedDN, RfcLdapString errorMessage, RfcReferral referral ) : System
resultCode Novell.Directory.Ldap.Asn1.Asn1Enumerated the result code of the operation /// ///
matchedDN RfcLdapDN the matched DN returned from the server /// ///
errorMessage RfcLdapString the diagnostic message returned from the server /// ///
referral RfcReferral the referral(s) returned by the server ///
return System

getErrorMessage() public method

Returns the error message from the server
public getErrorMessage ( ) : RfcLdapString
return RfcLdapString

getMatchedDN() public method

Returns the matched DN from the server
public getMatchedDN ( ) : RfcLdapDN
return RfcLdapDN

getReferral() public method

Returns the referral(s) from the server
public getReferral ( ) : RfcReferral
return RfcReferral

getResultCode() public method

Returns the result code from the server
public getResultCode ( ) : Asn1Enumerated
return Novell.Directory.Ldap.Asn1.Asn1Enumerated