libmapiadmin 2.0 API Documentation

- Main Page
- Data Structures
- Files

- File List
- Globals

Data Structures | Functions
libmapiadmin.h File Reference

Structures for MAPI admin functions. More...

`#include <sys/types.h>`
`#include <stdio.h>`
`#include <stdlib.h>`
`#include <stdbool.h>`
`#include <unistd.h>`
`#include <errno.h>`
`#include <string.h>`
`#include <stdint.h>`
`#include <talloc.h>`
`#include <ldb.h>`
`#include <tevent.h>`
`#include "libmapi/libmapi.h"`

## Data Structures
struct | mapiadmin_ctx
| MAPI admin function context. More...

## Functions
struct mapiadmin_ctx * | mapiadmin_init (struct mapi_session *)
| Create and initialise a mapiadmin_ctx structure.
enum MAPISTATUS | mapiadmin_release (struct mapiadmin_ctx *)
| Clean up a mapiadmin_ctx structure.
enum MAPISTATUS | mapiadmin_user_add (struct mapiadmin_ctx *)
| Add a user to Active Directory.
enum MAPISTATUS | mapiadmin_user_del (struct mapiadmin_ctx *)
| Delete a user from Active Directory.
enum MAPISTATUS | mapiadmin_user_extend (struct mapiadmin_ctx *)
| Extend user attributes to be Exchange user.

## Detailed Description

Structures for MAPI admin functions.

## Function Documentation

struct mapiadmin_ctx* mapiadmin_init | ( | struct mapi_session * | session | ) |
| read

Create and initialise a mapiadmin_ctx structure.

You should use mapiadmin_release to clean up the mapiadmin_ctx structure when done.

enum MAPISTATUS mapiadmin_release | ( | struct mapiadmin_ctx * | mapiadmin_ctx | ) |

Clean up a mapiadmin_ctx structure.

The structure is assumed to have been allocated using mapiadmin_init() or equivalent code.

| This content is licensed under the Creative Commons Attribution ShareAlike License v. 3.0: http://creativecommons.org/licenses/by-sa/3.0/