# PILSSession Class Reference

This class will create an LDAP client to access a remote ILS server. More...

`#include <pils.h>`

Inheritance diagram for PILSSession:

List of all members.

## Public Member Functions

| PILSSession ()
| Create an ILS client.
| PLDAP_ATTR_SIMP (RTPerson, PString, cn)
| PLDAP_ATTR_SIMP (RTPerson, PString, c)
| PLDAP_ATTR_SIMP (RTPerson, PString, o)
| PLDAP_ATTR_SIMP (RTPerson, PString, surname)
| PLDAP_ATTR_SIMP (RTPerson, PString, givenName)
| PLDAP_ATTR_SIMP (RTPerson, PString, rfc822Mailbox)
| PLDAP_ATTR_SIMP (RTPerson, PString, location)
| PLDAP_ATTR_SIMP (RTPerson, PString, comment)
| PLDAP_ATTR_SIMP (RTPerson, MSIPAddress, sipAddress)
| PLDAP_ATTR_SIMP (RTPerson, PWORDArray, sport)
| PLDAP_ATTR_INIT (RTPerson, unsigned, sflags, 0)
| PLDAP_ATTR_INIT (RTPerson, unsigned, ssecurity, 0)
| PLDAP_ATTR_INIT (RTPerson, unsigned, smodop, 0)
| PLDAP_ATTR_INIT (RTPerson, unsigned, sttl, 3600)
| PLDAP_ATTR_SIMP (RTPerson, PStringList, sprotid)
| PLDAP_ATTR_SIMP (RTPerson, PStringList, sprotmimetype)
| PLDAP_ATTR_INIT (RTPerson, PString, sappid, PProcess::Current().GetName())
| PLDAP_ATTR_INIT (RTPerson, PString, sappguid,"none")
| PLDAP_ATTR_SIMP (RTPerson, PStringList, smimetype)
| PLDAP_ATTR_INIT (RTPerson, PBoolean, ilsa32833566, 0)
| PLDAP_ATTR_INIT (RTPerson, PBoolean, ilsa32964638, 0)
| PLDAP_ATTR_INIT (RTPerson, PBoolean, ilsa26214430, 0)
| PLDAP_ATTR_INIT (RTPerson, unsigned, ilsa26279966, 0)
| PLDAP_ATTR_INIT (RTPerson, unsigned, ilsa39321630, 0)
| PLDAP_ATTR_INIT (RTPerson, time_t, timestamp, PTime().GetTimeInSeconds())
PString | GetDN () const
| PLDAP_STRUCT_END ()
PBoolean | AddPerson (const RTPerson &person)
PBoolean | ModifyPerson (const RTPerson &person)
PBoolean | DeletePerson (const RTPerson &person)
PBoolean | SearchPerson (const PString &canonicalName, RTPerson &person)
PList< RTPerson > | SearchPeople (const PString &filter)

## Classes

class | MSIPAddress
| Special IP address class. More...

## Detailed Description

This class will create an LDAP client to access a remote ILS server.

## Constructor & Destructor Documentation

PILSSession::PILSSession | ( |  | ) |

Create an ILS client.

## Member Function Documentation

PBoolean PILSSession::AddPerson | ( | const RTPerson & | person | ) |

PBoolean PILSSession::DeletePerson | ( | const RTPerson & | person | ) |

PString PILSSession::GetDN | ( |  | ) | const

PBoolean PILSSession::ModifyPerson | ( | const RTPerson & | person | ) |

PILSSession::PLDAP_ATTR_INIT | ( | RTPerson | ,
|  | time_t | ,
|  | timestamp | ,
|  | PTime().GetTimeInSeconds() |  |
| ) |  |  |

PILSSession::PLDAP_ATTR_INIT | ( | RTPerson | ,
|  | unsigned | ,
|  | ilsa39321630 | ,
|  | 0 |  |
| ) |  |  |

PILSSession::PLDAP_ATTR_INIT | ( | RTPerson | ,
|  | unsigned | ,
|  | ilsa26279966 | ,
|  | 0 |  |
| ) |  |  |

PILSSession::PLDAP_ATTR_INIT | ( | RTPerson | ,
|  | PBoolean | ,
|  | ilsa26214430 | ,
|  | 0 |  |
| ) |  |  |

PILSSession::PLDAP_ATTR_INIT | ( | RTPerson | ,
|  | PBoolean | ,
|  | ilsa32964638 | ,
|  | 0 |  |
| ) |  |  |

PILSSession::PLDAP_ATTR_INIT | ( | RTPerson | ,
|  | PBoolean | ,
|  | ilsa32833566 | ,
|  | 0 |  |
| ) |  |  |

PILSSession::PLDAP_ATTR_INIT | ( | RTPerson | ,
|  | PString | ,
|  | sappguid | ,
|  | "none" |  |
| ) |  |  |

PILSSession::PLDAP_ATTR_INIT | ( | RTPerson | ,
|  | PString | ,
|  | sappid | ,
|  | PProcess:: | Current().GetName() |
| ) |  |  |

PILSSession::PLDAP_ATTR_INIT | ( | RTPerson | ,
|  | unsigned | ,
|  | sttl | ,
|  | 3600 |  |
| ) |  |  |

PILSSession::PLDAP_ATTR_INIT | ( | RTPerson | ,
|  | unsigned | ,
|  | smodop | ,
|  | 0 |  |
| ) |  |  |

PILSSession::PLDAP_ATTR_INIT | ( | RTPerson | ,
|  | unsigned | ,
|  | ssecurity | ,
|  | 0 |  |
| ) |  |  |

PILSSession::PLDAP_ATTR_INIT | ( | RTPerson | ,
|  | unsigned | ,
|  | sflags | ,
|  | 0 |  |
| ) |  |  |

PILSSession::PLDAP_ATTR_SIMP | ( | RTPerson | ,
|  | PStringList | ,
|  | smimetype |  |
| ) |  |  |

PILSSession::PLDAP_ATTR_SIMP | ( | RTPerson | ,
|  | PStringList | ,
|  | sprotmimetype |  |
| ) |  |  |

PILSSession::PLDAP_ATTR_SIMP | ( | RTPerson | ,
|  | PStringList | ,
|  | sprotid |  |
| ) |  |  |

PILSSession::PLDAP_ATTR_SIMP | ( | RTPerson | ,
|  | PWORDArray | ,
|  | sport |  |
| ) |  |  |

PILSSession::PLDAP_ATTR_SIMP | ( | RTPerson | ,
|  | MSIPAddress | ,
|  | sipAddress |  |
| ) |  |  |

PILSSession::PLDAP_ATTR_SIMP | ( | RTPerson | ,
|  | PString | ,
|  | comment |  |
| ) |  |  |

PILSSession::PLDAP_ATTR_SIMP | ( | RTPerson | ,
|  | PString | ,
|  | location |  |
| ) |  |  |

PILSSession::PLDAP_ATTR_SIMP | ( | RTPerson | ,
|  | PString | ,
|  | rfc822Mailbox |  |
| ) |  |  |

PILSSession::PLDAP_ATTR_SIMP | ( | RTPerson | ,
|  | PString | ,
|  | givenName |  |
| ) |  |  |

PILSSession::PLDAP_ATTR_SIMP | ( | RTPerson | ,
|  | PString | ,
|  | surname |  |
| ) |  |  |

PILSSession::PLDAP_ATTR_SIMP | ( | RTPerson | ,
|  | PString | ,
|  | o |  |
| ) |  |  |

PILSSession::PLDAP_ATTR_SIMP | ( | RTPerson | ,
|  | PString | ,
|  | c |  |
| ) |  |  |

PILSSession::PLDAP_ATTR_SIMP | ( | RTPerson | ,
|  | PString | ,
|  | cn |  |
| ) |  |  |

PILSSession::PLDAP_STRUCT_END | ( |  | ) |

PList<RTPerson> PILSSession::SearchPeople | ( | const PString & | filter | ) |

PBoolean PILSSession::SearchPerson | ( | const PString & | canonicalName,
|  | RTPerson & | person |
| ) |  |  |

The documentation for this class was generated from the following file:

- pils.h