Sun Java System Directory Server Enterprise Edition 6.1 Developer's Guide

Operation Information

The following parameters allow you to access information about the current operation through the parameter block.

Table 18–13 Operation Information Parameters

Parameter ID  

Data Type  

Description  

SLAPI_CONTROLS_ARG

LDAPControl **

Array of controls passed before the operation is created. 

SLAPI_IS_INTERNAL_OPERATION

int

Whether the operation originated internally, or as the result of a client request. 

  • 0 client request.

  • 1 internal operation.

SLAPI_IS_REPLICATED_OPERATION

int

Whether the operation is part of replication with another server. 

  • 0 false.

  • 1 true.

SLAPI_OPERATION

Slapi_Operation *

Operation currently in progress. 

SLAPI_OPERATION_ID

int

Identifier for the operation. 

SLAPI_OPERATION_MSGID

long

Message identifier for the operation. 

SLAPI_OPINITIATED_TIME

time_t

Time when the server began processing the operation. 

SLAPI_REQCONTROLS

LDAPControl **

Array of controls specified in the request. 

SLAPI_REQUESTOR_DN

char *

DN of the user requesting the operation. 

SLAPI_REQUESTOR_ISROOT

int

Whether the bind DN of the user requesting the operation corresponds to the root DN, the value of nsslapd-rootdn on cn=config for the instance.

  • 0 false.

  • 1 true.

SLAPI_TARGET_DN

char *

DN to which the operation applies.