Show Table of Contents
49.2. slapi_operation_set_flag()
Description
This function sets the specified flag for the operation. The code sample demonstrates how the flag for the operation is to be set:
Slapi_Operation *op;
if ( slapi_pblock_get( pb, SLAPI_OPERATION, &op ) != 0 ) {
slapi_operation_set_flag( op, SLAPI_OP_FLAG_NO_ACCESS_CHECK );
}
Syntax
#include "slapi-plugin.h" void slapi_operation_set_flag( Slapi_Operation *op, unsigned long flag)
Parameter
This function takes the following parameters:
|
op
| Operation data structure. |
|
flag
| Flag to be set. By default, only one flag is supported, the SLAPI_OP_FLAG_NO_ACCESS_CHECK flag, which specifies that access control should not be checked. |

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.