LDAP-0.6.12: Haskell binding for C LDAP API

CopyrightCopyright (C) 2005 John Goerzen
LicenseBSD
MaintainerJohn Goerzen,
Safe HaskellSafe
LanguageHaskell98

LDAP.Modify

Contents

Description

Maintainer : jgoerzen@complete.org Stability : provisional Portability: portable

LDAP changes

Written by John Goerzen, jgoerzen@complete.org

Synopsis

Basics

data LDAPModOp #

Instances
Enum LDAPModOp # 
Instance details

Defined in LDAP.Data

Eq LDAPModOp # 
Instance details

Defined in LDAP.Data

Methods

(==) :: LDAPModOp -> LDAPModOp -> Bool

(/=) :: LDAPModOp -> LDAPModOp -> Bool

Ord LDAPModOp # 
Instance details

Defined in LDAP.Data

Methods

compare :: LDAPModOp -> LDAPModOp -> Ordering

(<) :: LDAPModOp -> LDAPModOp -> Bool

(<=) :: LDAPModOp -> LDAPModOp -> Bool

(>) :: LDAPModOp -> LDAPModOp -> Bool

(>=) :: LDAPModOp -> LDAPModOp -> Bool

max :: LDAPModOp -> LDAPModOp -> LDAPModOp

min :: LDAPModOp -> LDAPModOp -> LDAPModOp

Show LDAPModOp # 
Instance details

Defined in LDAP.Data

Methods

showsPrec :: Int -> LDAPModOp -> ShowS

show :: LDAPModOp -> String

showList :: [LDAPModOp] -> ShowS

data LDAPMod #

Constructors

LDAPMod 

Fields

Instances
Eq LDAPMod # 
Instance details

Defined in LDAP.Modify

Methods

(==) :: LDAPMod -> LDAPMod -> Bool

(/=) :: LDAPMod -> LDAPMod -> Bool

Show LDAPMod # 
Instance details

Defined in LDAP.Modify

Methods

showsPrec :: Int -> LDAPMod -> ShowS

show :: LDAPMod -> String

showList :: [LDAPMod] -> ShowS

ldapAdd #

Arguments

:: LDAP

LDAP connection object

-> String

DN to add

-> [LDAPMod]

Items to add

-> IO () 

ldapModify #

Arguments

:: LDAP

LDAP connection object

-> String

DN to modify

-> [LDAPMod]

Changes to make

-> IO () 

ldapDelete :: LDAP -> String -> IO () #

Delete the specified DN

ldapRename :: LDAP -> String -> String -> String -> IO () #

Rename DN to new DN

Utilities

list2ldm :: LDAPModOp -> [(String, [String])] -> [LDAPMod] #

Takes a list of name/value points and converts them to LDAPMod entries. Each item will have the specified LDAPModOp.

pairs2ldm :: LDAPModOp -> [(String, String)] -> [LDAPMod] #

Similar to list2ldm, but handles pairs with only one value.