예제 #1
0
        public ILdapMessage LdapSearchExtS(string querybase, int scope, string filter, string[] attrs, int attrsonly, IntPtr timeout, int sizelimit)
        {
            ILdapMessage message;

            if (attrs != null)
            {
                Array.Resize(ref attrs, attrs.Length + 1);/* NULL Termination */
            }
            var returnError = LdapClientLibrary.ldap_search_ext_s(this._connection, querybase, scope, filter, attrs, 0, 0, 0, timeout, sizelimit, ref this._result);

            ErrorCheckerHelper.Validate(returnError);
            message = new LdapMessage(this, _result);
            return(message);
        }
예제 #2
0
 public ILdapMessage LdapSearchExtS(string querybase, int scope, string filter, string[] attrs, int attrsonly, IntPtr timeout, int sizelimit)
 {
     ILdapMessage message;
     var returnError = LdapClientLibrary.ldap_search_ext_s(this._connection, querybase, scope, filter, attrs, 0, 0, 0, timeout, sizelimit, ref this._result);
     ErrorCheckerHelper.Validate(returnError);
     message = new LdapMessage(this, _result);
     return message;
 }
예제 #3
0
파일: LdapEntry.cs 프로젝트: wfu8/lightwave
 public LdapEntry(LdapMessage msg, IntPtr ent)
 {
     this._message = msg;
     this._entry   = ent;
 }
예제 #4
0
 public LdapEntry(LdapMessage msg, IntPtr ent)
 {
     this._message = msg;
     this._entry = ent;
 }