Exemple #1
0
        private SearchRequest GetSearchQuery(string distinguishedUserName)
        {
            userName = LdapHelper.GetCurrentLoggedInUse();
            string ldapUserQuery = string.Format(ldapUserFilter, userName);

            return(new SearchRequest(distinguishedUserName, ldapUserQuery, SearchScope.Subtree, null));
        }