Copyright | Copyright (C) 2005 John Goerzen |
---|---|
License | BSD |
Maintainer | John Goerzen, |
Stability | provisional |
Portability | portable |
Safe Haskell | Safe |
Language | Haskell98 |
LDAP.Search
Description
LDAP Searching
Written by John Goerzen, jgoerzen@complete.org
Synopsis
- data SearchAttributes
- = LDAPNoAttrs
- | LDAPAllUserAttrs
- | LDAPAttrList [String]
- data LDAPEntry = LDAPEntry {}
- data LDAPScope
- ldapSearch :: LDAP -> Maybe String -> LDAPScope -> Maybe String -> SearchAttributes -> Bool -> IO [LDAPEntry]
Documentation
data SearchAttributes Source #
Defines what attributes to return with the search result.
Constructors
LDAPNoAttrs | No attributes |
LDAPAllUserAttrs | User attributes only |
LDAPAttrList [String] | User-specified list |
Instances
Eq SearchAttributes Source # | |
Defined in LDAP.Search Methods (==) :: SearchAttributes -> SearchAttributes -> Bool (/=) :: SearchAttributes -> SearchAttributes -> Bool | |
Show SearchAttributes Source # | |
Defined in LDAP.Search Methods showsPrec :: Int -> SearchAttributes -> ShowS show :: SearchAttributes -> String showList :: [SearchAttributes] -> ShowS |
Constructors
LDAPEntry | |
Constructors
LdapScopeDefault | |
LdapScopeBase | |
LdapScopeOnelevel | |
LdapScopeSubtree | |
UnknownLDAPScope Int |
Instances
Enum LDAPScope Source # | |
Eq LDAPScope Source # | |
Ord LDAPScope Source # | |
Defined in LDAP.Data | |
Show LDAPScope Source # | |
Arguments
:: LDAP | LDAP connection object |
-> Maybe String | Base DN for search, if any |
-> LDAPScope | Scope of the search |
-> Maybe String | Filter to be used (none if Nothing) |
-> SearchAttributes | Desired attributes in result set |
-> Bool | If True, exclude attribute values (return types only) |
-> IO [LDAPEntry] |