MAPITests 2.0 API Documentation

- Main Page
- Related Pages
- Data Structures
- Files

- File List
- Globals

Functions
module_oxcperm.c File Reference

Permissions Protocol test suite. More...

## Functions
bool | mapitest_oxcperm_GetPermissionsTable (struct mapitest *mt)
bool | mapitest_oxcperm_ModifyPermissions (struct mapitest *mt)

## Detailed Description

Permissions Protocol test suite.

## Function Documentation

bool mapitest_oxcperm_GetPermissionsTable | ( | struct mapitest * | mt | ) |

Test the GetPermissionsTable (0x3e) operation

This function:

1. Log on private message store
2. Open the top store folder
3. Gets the permissions table handle
4. Fetches properties from the permissions table

References mapitest_print_retval(), and mapitest::mem_ctx.

bool mapitest_oxcperm_ModifyPermissions | ( | struct mapitest * | mt | ) |

Test the ModifyPermissions (0x40) operation

This function:

1. Log on private message store
2. Open the top store folder
3. Creates a temporary folder
4. Adds permissions for the admin user, and checks them
5. Modifies permissions for the admin user, and checks them
6. Removes permissions for the admin user, and checks them
7. Deletes the folder

References mapitest_print_retval(), and mapitest::mem_ctx.

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